#284BAC#284BAC
#284BAC is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.161 H 265.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #284BAC |
|---|---|
| RGB | rgb(40, 75, 172) |
| HSL | hsl(224, 62%, 42%) |
| HSV | hsv(224, 77%, 67%) |
| CMYK | cmyk(76.7%, 56.4%, 0%, 32.5%) |
| CIE-LAB | lab(34.92, 22.94, -55.54) |
| CIE-LCH | lch(34.92, 60.09, 292.44°) |
| OKLab | oklab(44.74% -0.0132 -0.1602) |
| OKLCH | oklch(44.74% 0.161 265.3) |
| XYZ | xyz(10.8349, 8.4606, 40.0838) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.35
Sapphire
#0F52BA
ΔE00 3.39
Cobalt (survey)
#1E488F
ΔE00 4.50
Blue Blue
#2242C7
ΔE00 4.95
Dusk Blue
#26538D
ΔE00 5.86
Sapphire (survey)
#2138AB
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284BAC #AC8928
analogous
#288DAC #284BAC #4728AC
triadic
#284BAC #AC284B #4BAC28
tetradic
#284BAC #AC288D #AC8928 #28AC47
square
#284BAC #AC288D #AC8928 #28AC47
split-complementary
#284BAC #AC4728 #8DAC28
monochromatic
#112049 #1C357A #284BAC #3F66D2 #718EDE
Accessibility & contrast
On white
7.80
#284BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#284BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284BAC
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284BAC | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #284bac; /* rgb */ color: rgb(40, 75, 172); /* oklch */ color: oklch(44.7% 0.161 265.3);
Tailwind
colors: {
custom: {
50: '#767cc5',
500: '#284bac',
950: '#000000',
},
}SCSS
$custom: #284bac; $custom-light: #767cc5; $custom-dark: #000000;
JSON
{
"hex": "#284bac",
"rgb": {
"r": 40,
"g": 75,
"b": 172
},
"hsl": {
"h": 224.091,
"s": 62.264,
"l": 41.569
},
"oklch": {
"l": 0.44737,
"c": 0.16074,
"h": 265.3
},
"luminance": 0.08462
}Semantic roles & 50–950 ramp
primary
#284BAC
secondary
#C5AD6B
accent
#BA42E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82