#284FBC#284FBC
#284FBC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.177 H 265.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #284FBC |
|---|---|
| RGB | rgb(40, 79, 188) |
| HSL | hsl(224, 65%, 45%) |
| HSV | hsv(224, 79%, 74%) |
| CMYK | cmyk(78.7%, 58%, 0%, 26.3%) |
| CIE-LAB | lab(37.25, 26.40, -61.21) |
| CIE-LCH | lch(37.25, 66.66, 293.33°) |
| OKLab | oklab(46.88% -0.0151 -0.1768) |
| OKLCH | oklch(46.88% 0.177 265.1) |
| XYZ | xyz(12.7449, 9.6724, 48.7625) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.48
Cobalt
#0047AB
ΔE00 3.96
Blue Blue
#2242C7
ΔE00 4.47
Blue (survey)
#0343DF
ΔE00 5.64
Warm Blue
#4B57DB
ΔE00 6.55
Cobalt (survey)
#1E488F
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284FBC #BC9528
analogous
#2899BC #284FBC #4B28BC
triadic
#284FBC #BC284F #4FBC28
tetradic
#284FBC #BC2899 #BC9528 #28BC4B
square
#284FBC #BC2899 #BC9528 #28BC4B
split-complementary
#284FBC #BC4B28 #99BC28
monochromatic
#132557 #1D3A8A #284FBC #496FD8 #7B97E3
Accessibility & contrast
On white
7.16
#284FBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#284FBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284FBC
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284FBC | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #284fbc; /* rgb */ color: rgb(40, 79, 188); /* oklch */ color: oklch(46.9% 0.177 265.1);
Tailwind
colors: {
custom: {
50: '#7a7fd1',
500: '#284fbc',
950: '#000000',
},
}SCSS
$custom: #284fbc; $custom-light: #7a7fd1; $custom-dark: #000000;
JSON
{
"hex": "#284fbc",
"rgb": {
"r": 40,
"g": 79,
"b": 188
},
"hsl": {
"h": 224.189,
"s": 64.912,
"l": 44.706
},
"oklch": {
"l": 0.46875,
"c": 0.17744,
"h": 265.1
},
"luminance": 0.09674
}Semantic roles & 50–950 ramp
primary
#284FBC
secondary
#CBB475
accent
#BC40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82