#284CB3#284CB3
#284CB3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.169 H 265.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #284CB3 |
|---|---|
| RGB | rgb(40, 76, 179) |
| HSL | hsl(224, 63%, 43%) |
| HSV | hsv(224, 78%, 70%) |
| CMYK | cmyk(77.7%, 57.5%, 0%, 29.8%) |
| CIE-LAB | lab(35.74, 24.95, -58.37) |
| CIE-LCH | lch(35.74, 63.48, 293.15°) |
| OKLab | oklab(45.52% -0.0135 -0.1685) |
| OKLCH | oklch(45.52% 0.169 265.4) |
| XYZ | xyz(11.5933, 8.8734, 43.7408) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.87
Sapphire
#0F52BA
ΔE00 3.00
Blue Blue
#2242C7
ΔE00 4.38
Cobalt (survey)
#1E488F
ΔE00 5.42
Blue (survey)
#0343DF
ΔE00 6.19
Sapphire (survey)
#2138AB
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284CB3 #B38F28
analogous
#2892B3 #284CB3 #4928B3
triadic
#284CB3 #B3284C #4CB328
tetradic
#284CB3 #B32892 #B38F28 #28B349
square
#284CB3 #B32892 #B38F28 #28B349
split-complementary
#284CB3 #B34928 #92B328
monochromatic
#12224F #1D3781 #284CB3 #4369D5 #7591E0
Accessibility & contrast
On white
7.57
#284CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#284CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284CB3
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284CB3 | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #284cb3; /* rgb */ color: rgb(40, 76, 179); /* oklch */ color: oklch(45.5% 0.169 265.4);
Tailwind
colors: {
custom: {
50: '#787dcb',
500: '#284cb3',
950: '#000000',
},
}SCSS
$custom: #284cb3; $custom-light: #787dcb; $custom-dark: #000000;
JSON
{
"hex": "#284cb3",
"rgb": {
"r": 40,
"g": 76,
"b": 179
},
"hsl": {
"h": 224.46,
"s": 63.47,
"l": 42.941
},
"oklch": {
"l": 0.45521,
"c": 0.16904,
"h": 265.4
},
"luminance": 0.08875
}Semantic roles & 50–950 ramp
primary
#284CB3
secondary
#C8B16F
accent
#BC41E6
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82