#284CB7#284CB7
#284CB7 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.174 H 265.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #284CB7 |
|---|---|
| RGB | rgb(40, 76, 183) |
| HSL | hsl(225, 64%, 44%) |
| HSV | hsv(225, 78%, 72%) |
| CMYK | cmyk(78.1%, 58.5%, 0%, 28.2%) |
| CIE-LAB | lab(36.06, 26.48, -60.21) |
| CIE-LCH | lch(36.06, 65.78, 293.74°) |
| OKLab | oklab(45.86% -0.0133 -0.1739) |
| OKLCH | oklch(45.86% 0.174 265.6) |
| XYZ | xyz(12.0037, 9.0375, 45.9023) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.07
Cobalt
#0047AB
ΔE00 3.23
Blue Blue
#2242C7
ΔE00 3.96
Blue (survey)
#0343DF
ΔE00 5.67
Cobalt (survey)
#1E488F
ΔE00 5.97
Sapphire (survey)
#2138AB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284CB7 #B79328
analogous
#2893B7 #284CB7 #4B28B7
triadic
#284CB7 #B7284C #4CB728
tetradic
#284CB7 #B72893 #B79328 #28B74B
square
#284CB7 #B72893 #B79328 #28B74B
split-complementary
#284CB7 #B74B28 #93B728
monochromatic
#122253 #1D3785 #284CB7 #466AD6 #7892E1
Accessibility & contrast
On white
7.48
#284CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#284CB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284CB7
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284CB7 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #284cb7; /* rgb */ color: rgb(40, 76, 183); /* oklch */ color: oklch(45.9% 0.174 265.6);
Tailwind
colors: {
custom: {
50: '#797dcd',
500: '#284cb7',
950: '#000000',
},
}SCSS
$custom: #284cb7; $custom-light: #797dcd; $custom-dark: #000000;
JSON
{
"hex": "#284cb7",
"rgb": {
"r": 40,
"g": 76,
"b": 183
},
"hsl": {
"h": 224.895,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.45858,
"c": 0.17443,
"h": 265.6
},
"luminance": 0.09039
}Semantic roles & 50–950 ramp
primary
#284CB7
secondary
#C9B372
accent
#BD41E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82