#284F98#284F98
#284F98 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.128 H 261.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #284F98 |
|---|---|
| RGB | rgb(40, 79, 152) |
| HSL | hsl(219, 58%, 38%) |
| HSV | hsv(219, 74%, 60%) |
| CMYK | cmyk(73.7%, 48%, 0%, 40.4%) |
| CIE-LAB | lab(34.62, 12.52, -44.03) |
| CIE-LCH | lch(34.62, 45.78, 285.87°) |
| OKLab | oklab(44.05% -0.0187 -0.1263) |
| OKLCH | oklch(44.05% 0.128 261.6) |
| XYZ | xyz(9.3365, 8.3091, 30.8114) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.46
Dusk Blue
#26538D
ΔE00 2.63
Cobalt
#0047AB
ΔE00 3.79
Denim Blue
#3B5B92
ΔE00 4.23
Sapphire
#0F52BA
ΔE00 4.33
Light Navy
#155084
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284F98 #987128
analogous
#288798 #284F98 #392898
triadic
#284F98 #98284F #4F9828
tetradic
#284F98 #982887 #987128 #289839
square
#284F98 #982887 #987128 #289839
split-complementary
#284F98 #983928 #879828
monochromatic
#0F1D37 #1B3668 #284F98 #3568C8 #648CD6
Accessibility & contrast
On white
7.89
#284F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#284F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284F98
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284F98 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#0B4D97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #284f98; /* rgb */ color: rgb(40, 79, 152); /* oklch */ color: oklch(44.0% 0.128 261.6);
Tailwind
colors: {
custom: {
50: '#717fb7',
500: '#284f98',
950: '#000000',
},
}SCSS
$custom: #284f98; $custom-light: #717fb7; $custom-dark: #000000;
JSON
{
"hex": "#284f98",
"rgb": {
"r": 40,
"g": 79,
"b": 152
},
"hsl": {
"h": 219.107,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.44048,
"c": 0.12766,
"h": 261.6
},
"luminance": 0.0831
}Semantic roles & 50–950 ramp
primary
#284F98
secondary
#BC9C60
accent
#AB46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80