#284FB9#284FB9
#284FB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.173 H 265.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #284FB9 |
|---|---|
| RGB | rgb(40, 79, 185) |
| HSL | hsl(224, 64%, 44%) |
| HSV | hsv(224, 78%, 73%) |
| CMYK | cmyk(78.4%, 57.3%, 0%, 27.5%) |
| CIE-LAB | lab(37.01, 25.26, -59.83) |
| CIE-LCH | lch(37.01, 64.95, 292.89°) |
| OKLab | oklab(46.62% -0.0153 -0.1727) |
| OKLCH | oklch(46.62% 0.173 265) |
| XYZ | xyz(12.4249, 9.5444, 47.0770) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.31
Cobalt
#0047AB
ΔE00 3.67
Blue Blue
#2242C7
ΔE00 4.69
Blue (survey)
#0343DF
ΔE00 5.99
Cobalt (survey)
#1E488F
ΔE00 6.21
Dusk Blue
#26538D
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284FB9 #B99228
analogous
#2898B9 #284FB9 #4A28B9
triadic
#284FB9 #B9284F #4FB928
tetradic
#284FB9 #B92898 #B99228 #28B94A
square
#284FB9 #B92898 #B99228 #28B94A
split-complementary
#284FB9 #B94A28 #98B928
monochromatic
#122454 #1D3A87 #284FB9 #476ED7 #7995E2
Accessibility & contrast
On white
7.22
#284FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#284FB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284FB9
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284FB9 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #284fb9; /* rgb */ color: rgb(40, 79, 185); /* oklch */ color: oklch(46.6% 0.173 265.0);
Tailwind
colors: {
custom: {
50: '#797fcf',
500: '#284fb9',
950: '#000000',
},
}SCSS
$custom: #284fb9; $custom-light: #797fcf; $custom-dark: #000000;
JSON
{
"hex": "#284fb9",
"rgb": {
"r": 40,
"g": 79,
"b": 185
},
"hsl": {
"h": 223.862,
"s": 64.444,
"l": 44.118
},
"oklch": {
"l": 0.46624,
"c": 0.17342,
"h": 265
},
"luminance": 0.09546
}Semantic roles & 50–950 ramp
primary
#284FB9
secondary
#CAB373
accent
#BA40E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82