#284C94#284C94
#284C94 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.126 H 262.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #284C94 |
|---|---|
| RGB | rgb(40, 76, 148) |
| HSL | hsl(220, 57%, 37%) |
| HSV | hsv(220, 73%, 58%) |
| CMYK | cmyk(73%, 48.6%, 0%, 42%) |
| CIE-LAB | lab(33.47, 12.98, -43.45) |
| CIE-LCH | lch(33.47, 45.35, 286.63°) |
| OKLab | oklab(43.08% -0.0166 -0.1246) |
| OKLCH | oklch(43.08% 0.126 262.4) |
| XYZ | xyz(8.8029, 7.7572, 29.0446) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.59
Dusk Blue
#26538D
ΔE00 3.27
Cobalt
#0047AB
ΔE00 3.68
Darkish Blue
#014182
ΔE00 4.74
Light Navy
#155084
ΔE00 4.92
Denim Blue
#3B5B92
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284C94 #947028
analogous
#288294 #284C94 #3A2894
triadic
#284C94 #94284C #4C9428
tetradic
#284C94 #942882 #947028 #28943A
square
#284C94 #942882 #947028 #28943A
split-complementary
#284C94 #943A28 #829428
monochromatic
#0E1B34 #1B3364 #284C94 #3565C4 #6288D5
Accessibility & contrast
On white
8.23
#284C94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#284C94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284C94
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284C94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284C94 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255497
Deuteranopia (green-blind)
#084A93
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #284c94; /* rgb */ color: rgb(40, 76, 148); /* oklch */ color: oklch(43.1% 0.126 262.4);
Tailwind
colors: {
custom: {
50: '#707db4',
500: '#284c94',
950: '#000000',
},
}SCSS
$custom: #284c94; $custom-light: #707db4; $custom-dark: #000000;
JSON
{
"hex": "#284c94",
"rgb": {
"r": 40,
"g": 76,
"b": 148
},
"hsl": {
"h": 220,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.43083,
"c": 0.12572,
"h": 262.4
},
"luminance": 0.07758
}Semantic roles & 50–950 ramp
primary
#284C94
secondary
#BA9B5E
accent
#AD47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80