#284CBD#284CBD
#284CBD is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.182 H 265.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #284CBD |
|---|---|
| RGB | rgb(40, 76, 189) |
| HSL | hsl(226, 65%, 45%) |
| HSV | hsv(226, 79%, 74%) |
| CMYK | cmyk(78.8%, 59.8%, 0%, 25.9%) |
| CIE-LAB | lab(36.54, 28.75, -62.95) |
| CIE-LCH | lch(36.54, 69.20, 294.55°) |
| OKLab | oklab(46.37% -0.0131 -0.1819) |
| OKLCH | oklch(46.37% 0.182 265.9) |
| XYZ | xyz(12.6416, 9.2927, 49.2616) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.35
Blue Blue
#2242C7
ΔE00 3.45
Cobalt
#0047AB
ΔE00 3.87
Blue (survey)
#0343DF
ΔE00 4.92
Sapphire (survey)
#2138AB
ΔE00 6.33
Ocean Blue
#4F42B5
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284CBD #BD9928
analogous
#2897BD #284CBD #4E28BD
triadic
#284CBD #BD284C #4CBD28
tetradic
#284CBD #BD2897 #BD9928 #28BD4E
square
#284CBD #BD2897 #BD9928 #28BD4E
split-complementary
#284CBD #BD4E28 #97BD28
monochromatic
#132358 #1D388A #284CBD #4A6CD9 #7C95E3
Accessibility & contrast
On white
7.35
#284CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#284CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284CBD
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284CBD | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #284cbd; /* rgb */ color: rgb(40, 76, 189); /* oklch */ color: oklch(46.4% 0.182 265.9);
Tailwind
colors: {
custom: {
50: '#7a7dd2',
500: '#284cbd',
950: '#000000',
},
}SCSS
$custom: #284cbd; $custom-light: #7a7dd2; $custom-dark: #000000;
JSON
{
"hex": "#284cbd",
"rgb": {
"r": 40,
"g": 76,
"b": 189
},
"hsl": {
"h": 225.503,
"s": 65.066,
"l": 44.902
},
"oklch": {
"l": 0.46372,
"c": 0.18242,
"h": 265.9
},
"luminance": 0.09294
}Semantic roles & 50–950 ramp
primary
#284CBD
secondary
#CBB775
accent
#BF40E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83