#284899#284899
#284899 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.138 H 264.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #284899 |
|---|---|
| RGB | rgb(40, 72, 153) |
| HSL | hsl(223, 59%, 38%) |
| HSV | hsv(223, 74%, 60%) |
| CMYK | cmyk(73.9%, 52.9%, 0%, 40%) |
| CIE-LAB | lab(32.67, 17.62, -47.78) |
| CIE-LCH | lch(32.67, 50.93, 290.24°) |
| OKLab | oklab(42.58% -0.0124 -0.1374) |
| OKLCH | oklch(42.58% 0.138 264.9) |
| XYZ | xyz(8.9402, 7.3848, 31.0851) |
| Luminance | 0.0739 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.24
Cobalt
#0047AB
ΔE00 2.93
Dusk Blue
#26538D
ΔE00 5.00
Darkish Blue
#014182
ΔE00 5.04
Sapphire
#0F52BA
ΔE00 5.34
Twilight Blue
#0A437A
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284899 #997928
analogous
#288099 #284899 #412899
triadic
#284899 #992848 #489928
tetradic
#284899 #992880 #997928 #289941
square
#284899 #992880 #997928 #289941
split-complementary
#284899 #994128 #809928
monochromatic
#0F1A38 #1B3168 #284899 #355FCA #6585D7
Accessibility & contrast
On white
8.48
#284899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#284899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284899
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284899 | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#12529C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #284899; /* rgb */ color: rgb(40, 72, 153); /* oklch */ color: oklch(42.6% 0.138 264.9);
Tailwind
colors: {
custom: {
50: '#727ab8',
500: '#284899',
950: '#000000',
},
}SCSS
$custom: #284899; $custom-light: #727ab8; $custom-dark: #000000;
JSON
{
"hex": "#284899",
"rgb": {
"r": 40,
"g": 72,
"b": 153
},
"hsl": {
"h": 223.009,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.42581,
"c": 0.13799,
"h": 264.9
},
"luminance": 0.07386
}Semantic roles & 50–950 ramp
primary
#284899
secondary
#BDA260
accent
#B646E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80