#282DAF#282DAF
#282DAF is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.199 H 271.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #282DAF |
|---|---|
| RGB | rgb(40, 45, 175) |
| HSL | hsl(238, 63%, 42%) |
| HSV | hsv(238, 77%, 69%) |
| CMYK | cmyk(77.1%, 74.3%, 0%, 31.4%) |
| CIE-LAB | lab(27.90, 43.19, -68.83) |
| CIE-LCH | lch(27.90, 81.26, 302.11°) |
| OKLab | oklab(39.67% 0.0043 -0.1993) |
| OKLCH | oklch(39.67% 0.199 271.2) |
| XYZ | xyz(9.5487, 5.4220, 41.0924) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.38
Indigo Blue
#3A18B1
ΔE00 4.58
True Blue
#010FCC
ΔE00 5.65
Royal
#0C1793
ΔE00 6.44
Blue Blue
#2242C7
ΔE00 6.46
Mediumblue
#0000CD
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282DAF #AFAA28
analogous
#2870AF #282DAF #6728AF
triadic
#282DAF #AF282D #2DAF28
tetradic
#282DAF #AF2870 #AFAA28 #28AF67
square
#282DAF #AF2870 #AFAA28 #28AF67
split-complementary
#282DAF #AF6728 #70AF28
monochromatic
#11134B #1D207D #282DAF #4146D4 #7377DF
Accessibility & contrast
On white
10.07
#282DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#282DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282DAF
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282DAF | 1.00 | 10.07 | 2.08 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #282daf; /* rgb */ color: rgb(40, 45, 175); /* oklch */ color: oklch(39.7% 0.199 271.2);
Tailwind
colors: {
custom: {
50: '#7967c8',
500: '#282daf',
950: '#000000',
},
}SCSS
$custom: #282daf; $custom-light: #7967c8; $custom-dark: #000000;
JSON
{
"hex": "#282daf",
"rgb": {
"r": 40,
"g": 45,
"b": 175
},
"hsl": {
"h": 237.778,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.39668,
"c": 0.19935,
"h": 271.2
},
"luminance": 0.05423
}Semantic roles & 50–950 ramp
primary
#282DAF
secondary
#C6C36D
accent
#E042E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82