#282FAC#282FAC
#282FAC is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.194 H 271.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #282FAC |
|---|---|
| RGB | rgb(40, 47, 172) |
| HSL | hsl(237, 62%, 42%) |
| HSV | hsv(237, 77%, 67%) |
| CMYK | cmyk(76.7%, 72.7%, 0%, 32.5%) |
| CIE-LAB | lab(28.01, 40.99, -66.86) |
| CIE-LCH | lch(28.01, 78.42, 301.51°) |
| OKLab | oklab(39.65% 0.0038 -0.1936) |
| OKLCH | oklch(39.65% 0.194 271.1) |
| XYZ | xyz(9.3355, 5.4617, 39.5839) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.81
Indigo Blue
#3A18B1
ΔE00 5.15
Blue Blue
#2242C7
ΔE00 6.24
True Blue
#010FCC
ΔE00 6.29
Ocean Blue
#4F42B5
ΔE00 6.54
Royal
#0C1793
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282FAC #ACA528
analogous
#2871AC #282FAC #6328AC
triadic
#282FAC #AC282F #2FAC28
tetradic
#282FAC #AC2871 #ACA528 #28AC63
square
#282FAC #AC2871 #ACA528 #28AC63
split-complementary
#282FAC #AC6328 #71AC28
monochromatic
#111449 #1C217A #282FAC #3F47D2 #7176DE
Accessibility & contrast
On white
10.04
#282FAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#282FAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282FAC
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282FAC | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #282fac; /* rgb */ color: rgb(40, 47, 172); /* oklch */ color: oklch(39.7% 0.194 271.1);
Tailwind
colors: {
custom: {
50: '#7868c6',
500: '#282fac',
950: '#000000',
},
}SCSS
$custom: #282fac; $custom-light: #7868c6; $custom-dark: #000000;
JSON
{
"hex": "#282fac",
"rgb": {
"r": 40,
"g": 47,
"b": 172
},
"hsl": {
"h": 236.818,
"s": 62.264,
"l": 41.569
},
"oklch": {
"l": 0.39651,
"c": 0.1936,
"h": 271.1
},
"luminance": 0.05463
}Semantic roles & 50–950 ramp
primary
#282FAC
secondary
#C5C06B
accent
#DD42E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82