#284FB1#284FB1
#284FB1 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.163 H 264.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #284FB1 |
|---|---|
| RGB | rgb(40, 79, 177) |
| HSL | hsl(223, 63%, 43%) |
| HSV | hsv(223, 77%, 69%) |
| CMYK | cmyk(77.4%, 55.4%, 0%, 30.6%) |
| CIE-LAB | lab(36.40, 22.19, -56.11) |
| CIE-LCH | lch(36.40, 60.34, 291.58°) |
| OKLab | oklab(45.97% -0.0158 -0.1618) |
| OKLCH | oklch(45.97% 0.163 264.4) |
| XYZ | xyz(11.6041, 9.2161, 42.7538) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.19
Cobalt
#0047AB
ΔE00 3.08
Cobalt (survey)
#1E488F
ΔE00 5.16
Blue Blue
#2242C7
ΔE00 5.43
Dusk Blue
#26538D
ΔE00 5.56
Denim Blue
#3B5B92
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284FB1 #B18A28
analogous
#2893B1 #284FB1 #4628B1
triadic
#284FB1 #B1284F #4FB128
tetradic
#284FB1 #B12893 #B18A28 #28B146
square
#284FB1 #B12893 #B18A28 #28B146
split-complementary
#284FB1 #B14628 #93B128
monochromatic
#11224D #1D397F #284FB1 #426CD4 #7493E0
Accessibility & contrast
On white
7.39
#284FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#284FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284FB1
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284FB1 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #284fb1; /* rgb */ color: rgb(40, 79, 177); /* oklch */ color: oklch(46.0% 0.163 264.4);
Tailwind
colors: {
custom: {
50: '#777fc9',
500: '#284fb1',
950: '#000000',
},
}SCSS
$custom: #284fb1; $custom-light: #777fc9; $custom-dark: #000000;
JSON
{
"hex": "#284fb1",
"rgb": {
"r": 40,
"g": 79,
"b": 177
},
"hsl": {
"h": 222.92,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.45968,
"c": 0.1626,
"h": 264.4
},
"luminance": 0.09217
}Semantic roles & 50–950 ramp
primary
#284FB1
secondary
#C7AE6E
accent
#B742E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82