#282F9F#282F9F
#282F9F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.177 H 271.8°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #282F9F |
|---|---|
| RGB | rgb(40, 47, 159) |
| HSL | hsl(236, 60%, 39%) |
| HSV | hsv(236, 75%, 62%) |
| CMYK | cmyk(74.8%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(26.70, 36.43, -61.17) |
| CIE-LCH | lch(26.70, 71.20, 300.77°) |
| OKLab | oklab(38.31% 0.0056 -0.177) |
| OKLCH | oklch(38.31% 0.177 271.8) |
| XYZ | xyz(8.1475, 4.9865, 33.3273) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.07
Royal
#0C1793
ΔE00 5.95
Indigo Blue
#3A18B1
ΔE00 5.97
Blueberry
#464196
ΔE00 6.31
Darkslateblue
#483D8B
ΔE00 6.88
Cobalt Blue
#030AA7
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282F9F #9F9828
analogous
#286B9F #282F9F #5D289F
triadic
#282F9F #9F282F #2F9F28
tetradic
#282F9F #9F286B #9F9828 #289F5D
square
#282F9F #9F286B #9F9828 #289F5D
split-complementary
#282F9F #9F5D28 #6B9F28
monochromatic
#0F123D #1C216E #282F9F #3740CD #686FD9
Accessibility & contrast
On white
10.51
#282F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#282F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282F9F
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282F9F | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #282f9f; /* rgb */ color: rgb(40, 47, 159); /* oklch */ color: oklch(38.3% 0.177 271.8);
Tailwind
colors: {
custom: {
50: '#7568bc',
500: '#282f9f',
950: '#000000',
},
}SCSS
$custom: #282f9f; $custom-light: #7568bc; $custom-dark: #000000;
JSON
{
"hex": "#282f9f",
"rgb": {
"r": 40,
"g": 47,
"b": 159
},
"hsl": {
"h": 236.471,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.38311,
"c": 0.17707,
"h": 271.8
},
"luminance": 0.04987
}Semantic roles & 50–950 ramp
primary
#282F9F
secondary
#BFBA64
accent
#DA45E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81