#284FB7#284FB7
#284FB7 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.171 H 264.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #284FB7 |
|---|---|
| RGB | rgb(40, 79, 183) |
| HSL | hsl(224, 64%, 44%) |
| HSV | hsv(224, 78%, 72%) |
| CMYK | cmyk(78.1%, 56.8%, 0%, 28.2%) |
| CIE-LAB | lab(36.86, 24.49, -58.91) |
| CIE-LCH | lch(36.86, 63.80, 292.58°) |
| OKLab | oklab(46.46% -0.0154 -0.17) |
| OKLCH | oklch(46.46% 0.171 264.8) |
| XYZ | xyz(12.2153, 9.4606, 45.9728) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.23
Cobalt
#0047AB
ΔE00 3.50
Blue Blue
#2242C7
ΔE00 4.86
Cobalt (survey)
#1E488F
ΔE00 5.94
Blue (survey)
#0343DF
ΔE00 6.23
Dusk Blue
#26538D
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284FB7 #B79028
analogous
#2896B7 #284FB7 #4828B7
triadic
#284FB7 #B7284F #4FB728
tetradic
#284FB7 #B72896 #B79028 #28B748
square
#284FB7 #B72896 #B79028 #28B748
split-complementary
#284FB7 #B74828 #96B728
monochromatic
#122453 #1D3985 #284FB7 #466DD6 #7895E1
Accessibility & contrast
On white
7.26
#284FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#284FB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284FB7
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284FB7 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #284fb7; /* rgb */ color: rgb(40, 79, 183); /* oklch */ color: oklch(46.5% 0.171 264.8);
Tailwind
colors: {
custom: {
50: '#787fcd',
500: '#284fb7',
950: '#000000',
},
}SCSS
$custom: #284fb7; $custom-light: #787fcd; $custom-dark: #000000;
JSON
{
"hex": "#284fb7",
"rgb": {
"r": 40,
"g": 79,
"b": 183
},
"hsl": {
"h": 223.636,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.46458,
"c": 0.17073,
"h": 264.8
},
"luminance": 0.09462
}Semantic roles & 50–950 ramp
primary
#284FB7
secondary
#C9B172
accent
#BA41E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82