#284EBC#284EBC
#284EBC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.179 H 265.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #284EBC |
|---|---|
| RGB | rgb(40, 78, 188) |
| HSL | hsl(225, 65%, 45%) |
| HSV | hsv(225, 79%, 74%) |
| CMYK | cmyk(78.7%, 58.5%, 0%, 26.3%) |
| CIE-LAB | lab(36.98, 27.06, -61.64) |
| CIE-LCH | lch(36.98, 67.32, 293.70°) |
| OKLab | oklab(46.68% -0.0145 -0.1781) |
| OKLCH | oklch(46.68% 0.179 265.4) |
| XYZ | xyz(12.6734, 9.5293, 48.7386) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.73
Cobalt
#0047AB
ΔE00 3.86
Blue Blue
#2242C7
ΔE00 4.15
Blue (survey)
#0343DF
ΔE00 5.42
Cobalt (survey)
#1E488F
ΔE00 6.60
Warm Blue
#4B57DB
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284EBC #BC9628
analogous
#2898BC #284EBC #4C28BC
triadic
#284EBC #BC284E #4EBC28
tetradic
#284EBC #BC2898 #BC9628 #28BC4C
square
#284EBC #BC2898 #BC9628 #28BC4C
split-complementary
#284EBC #BC4C28 #98BC28
monochromatic
#132457 #1D398A #284EBC #496ED8 #7B96E3
Accessibility & contrast
On white
7.23
#284EBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#284EBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284EBC
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284EBC | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #284ebc; /* rgb */ color: rgb(40, 78, 188); /* oklch */ color: oklch(46.7% 0.179 265.4);
Tailwind
colors: {
custom: {
50: '#7a7fd1',
500: '#284ebc',
950: '#000000',
},
}SCSS
$custom: #284ebc; $custom-light: #7a7fd1; $custom-dark: #000000;
JSON
{
"hex": "#284ebc",
"rgb": {
"r": 40,
"g": 78,
"b": 188
},
"hsl": {
"h": 224.595,
"s": 64.912,
"l": 44.706
},
"oklch": {
"l": 0.46677,
"c": 0.17867,
"h": 265.4
},
"luminance": 0.09531
}Semantic roles & 50–950 ramp
primary
#284EBC
secondary
#CBB575
accent
#BD40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82