#0028FF color codes
- HEX
- #0028FF
- HEX8
- #0028FFFF
- HEX8 (Android)
- #FF0028FF
- RGB
- rgb(0, 40, 255)
- RGB (%)
- 0%, 16%, 100%
- HSL
- hsl(231, 100%, 50%)
- HSV / HSB
- hsv(231, 100%, 100%)
- CMYK
- cmyk(100%, 84%, 0%, 0%)
- OKLCH
- oklch(0.4736 0.2986 264.2)
- OKLCH (%)
- oklch(47.36% 0.2986 264.2)
- Decimal
- 10495
What color is #0028FF?
#0028FF sits at 47% lightness and 0.2986 chroma in OKLCH, hue 264.2°. Its nearest named color is Blue.
Shades and tints of #0028FF
Tints
Shades
Tones
#0028FF color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #0028FF in CSS
.text { color: #0028FF; }
.background { background-color: #0028FF; }
.border { border: 2px solid #0028FF; }
/* Modern, perceptually uniform */
.text { color: oklch(0.4736 0.2986 264.2); }
/* #0028FF at 50% transparency */
.overlay { background-color: #0028FF80; }Is #0028FF accessible?
#0028FF on white text scores 7.64:1; on black text it scores 2.75:1. White text passes WCAG AAA on #0028FF. Recommended text color on a #0028FF background: white.
A 2.75:1 vs black
A 7.64:1 vs white
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Pass
- AAA large ≥ 4.5 Pass
Recommended text color: white
CSS
contrast-color() contrast-color(#0028FF) → white APCA Lc experimental 89.1 Lc · body text (white text)
WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
Nearest featured color: Blue #0000FF. See more in the blue family on the colors hub.
Frequently asked questions
- What color is #0028FF?
- #0028FF is closest to Blue. In RGB it is rgb(0, 40, 255), and in HSL hsl(231, 100%, 50%).
- What is #0028FF in RGB?
- #0028FF converts to rgb(0, 40, 255) — red 0, green 40, blue 255.
- What text color is readable on #0028FF?
- White text — it has the higher contrast ratio (7.64:1) against #0028FF. White text passes WCAG AAA on #0028FF.