#284EB7#284EB7
#284EB7 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.172 H 265.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #284EB7 |
|---|---|
| RGB | rgb(40, 78, 183) |
| HSL | hsl(224, 64%, 44%) |
| HSV | hsv(224, 78%, 72%) |
| CMYK | cmyk(78.1%, 57.4%, 0%, 28.2%) |
| CIE-LAB | lab(36.59, 25.16, -59.35) |
| CIE-LCH | lch(36.59, 64.46, 292.97°) |
| OKLab | oklab(46.26% -0.0147 -0.1713) |
| OKLCH | oklch(46.26% 0.172 265.1) |
| XYZ | xyz(12.1437, 9.3174, 45.9490) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.50
Cobalt
#0047AB
ΔE00 3.38
Blue Blue
#2242C7
ΔE00 4.55
Cobalt (survey)
#1E488F
ΔE00 5.93
Blue (survey)
#0343DF
ΔE00 6.03
Dusk Blue
#26538D
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284EB7 #B79128
analogous
#2895B7 #284EB7 #4928B7
triadic
#284EB7 #B7284E #4EB728
tetradic
#284EB7 #B72895 #B79128 #28B749
square
#284EB7 #B72895 #B79128 #28B749
split-complementary
#284EB7 #B74928 #95B728
monochromatic
#122353 #1D3985 #284EB7 #466CD6 #7894E1
Accessibility & contrast
On white
7.33
#284EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#284EB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284EB7
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284EB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284EB7 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #284eb7; /* rgb */ color: rgb(40, 78, 183); /* oklch */ color: oklch(46.3% 0.172 265.1);
Tailwind
colors: {
custom: {
50: '#787fcd',
500: '#284eb7',
950: '#000000',
},
}SCSS
$custom: #284eb7; $custom-light: #787fcd; $custom-dark: #000000;
JSON
{
"hex": "#284eb7",
"rgb": {
"r": 40,
"g": 78,
"b": 183
},
"hsl": {
"h": 224.056,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.46257,
"c": 0.17197,
"h": 265.1
},
"luminance": 0.09319
}Semantic roles & 50–950 ramp
primary
#284EB7
secondary
#C9B272
accent
#BB41E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82