#284998#284998
#284998 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.135 H 264.3°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #284998 |
|---|---|
| RGB | rgb(40, 73, 152) |
| HSL | hsl(222, 58%, 38%) |
| HSV | hsv(222, 74%, 60%) |
| CMYK | cmyk(73.7%, 52%, 0%, 40.4%) |
| CIE-LAB | lab(32.88, 16.55, -46.83) |
| CIE-LCH | lch(32.88, 49.67, 289.47°) |
| OKLab | oklab(42.72% -0.0133 -0.1346) |
| OKLCH | oklch(42.72% 0.135 264.3) |
| XYZ | xyz(8.9231, 7.4823, 30.6736) |
| Luminance | 0.0748 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.97
Cobalt
#0047AB
ΔE00 3.02
Dusk Blue
#26538D
ΔE00 4.59
Darkish Blue
#014182
ΔE00 4.93
Sapphire
#0F52BA
ΔE00 5.22
Twilight Blue
#0A437A
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284998 #987728
analogous
#288198 #284998 #3F2898
triadic
#284998 #982849 #499828
tetradic
#284998 #982881 #987728 #28983F
square
#284998 #982881 #987728 #28983F
split-complementary
#284998 #983F28 #819828
monochromatic
#0F1A37 #1B3268 #284998 #3560C8 #6486D6
Accessibility & contrast
On white
8.41
#284998 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#284998 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284998
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284998 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284998 | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18539B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #284998; /* rgb */ color: rgb(40, 73, 152); /* oklch */ color: oklch(42.7% 0.135 264.3);
Tailwind
colors: {
custom: {
50: '#717bb7',
500: '#284998',
950: '#000000',
},
}SCSS
$custom: #284998; $custom-light: #717bb7; $custom-dark: #000000;
JSON
{
"hex": "#284998",
"rgb": {
"r": 40,
"g": 73,
"b": 152
},
"hsl": {
"h": 222.321,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.4272,
"c": 0.13529,
"h": 264.3
},
"luminance": 0.07483
}Semantic roles & 50–950 ramp
primary
#284998
secondary
#BCA160
accent
#B446E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80