#284FB5#284FB5
#284FB5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.168 H 264.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #284FB5 |
|---|---|
| RGB | rgb(40, 79, 181) |
| HSL | hsl(223, 64%, 43%) |
| HSV | hsv(223, 78%, 71%) |
| CMYK | cmyk(77.9%, 56.4%, 0%, 29%) |
| CIE-LAB | lab(36.70, 23.73, -57.98) |
| CIE-LCH | lch(36.70, 62.65, 292.26°) |
| OKLab | oklab(46.29% -0.0155 -0.1673) |
| OKLCH | oklch(46.29% 0.168 264.7) |
| XYZ | xyz(12.0086, 9.3779, 44.8843) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.18
Cobalt
#0047AB
ΔE00 3.34
Blue Blue
#2242C7
ΔE00 5.04
Cobalt (survey)
#1E488F
ΔE00 5.68
Dusk Blue
#26538D
ΔE00 6.05
Denim Blue
#3B5B92
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284FB5 #B58E28
analogous
#2895B5 #284FB5 #4728B5
triadic
#284FB5 #B5284F #4FB528
tetradic
#284FB5 #B52895 #B58E28 #28B547
square
#284FB5 #B52895 #B58E28 #28B547
split-complementary
#284FB5 #B54728 #95B528
monochromatic
#122351 #1D3983 #284FB5 #446DD6 #7794E1
Accessibility & contrast
On white
7.30
#284FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#284FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284FB5
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284FB5 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #284fb5; /* rgb */ color: rgb(40, 79, 181); /* oklch */ color: oklch(46.3% 0.168 264.7);
Tailwind
colors: {
custom: {
50: '#787fcc',
500: '#284fb5',
950: '#000000',
},
}SCSS
$custom: #284fb5; $custom-light: #787fcc; $custom-dark: #000000;
JSON
{
"hex": "#284fb5",
"rgb": {
"r": 40,
"g": 79,
"b": 181
},
"hsl": {
"h": 223.404,
"s": 63.801,
"l": 43.333
},
"oklch": {
"l": 0.46294,
"c": 0.16804,
"h": 264.7
},
"luminance": 0.09379
}Semantic roles & 50–950 ramp
primary
#284FB5
secondary
#C8B070
accent
#B941E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82