#282F9C#282F9C
#282F9C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.173 H 272.0°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #282F9C |
|---|---|
| RGB | rgb(40, 47, 156) |
| HSL | hsl(236, 59%, 38%) |
| HSV | hsv(236, 74%, 61%) |
| CMYK | cmyk(74.4%, 69.9%, 0%, 38.8%) |
| CIE-LAB | lab(26.40, 35.36, -59.83) |
| CIE-LCH | lch(26.40, 69.50, 300.58°) |
| OKLab | oklab(38.01% 0.0059 -0.1731) |
| OKLCH | oklch(38.01% 0.173 272) |
| XYZ | xyz(7.8903, 4.8836, 31.9728) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.27
Royal
#0C1793
ΔE00 5.89
Blueberry
#464196
ΔE00 6.22
Indigo Blue
#3A18B1
ΔE00 6.24
Darkslateblue
#483D8B
ΔE00 6.69
Cobalt Blue
#030AA7
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282F9C #9C9528
analogous
#28699C #282F9C #5B289C
triadic
#282F9C #9C282F #2F9C28
tetradic
#282F9C #9C2869 #9C9528 #289C5B
square
#282F9C #9C2869 #9C9528 #289C5B
split-complementary
#282F9C #9C5B28 #699C28
monochromatic
#0F123B #1C206B #282F9C #363FCB #676DD8
Accessibility & contrast
On white
10.62
#282F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#282F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282F9C
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282F9C | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #282f9c; /* rgb */ color: rgb(40, 47, 156); /* oklch */ color: oklch(38.0% 0.173 272.0);
Tailwind
colors: {
custom: {
50: '#7468ba',
500: '#282f9c',
950: '#000000',
},
}SCSS
$custom: #282f9c; $custom-light: #7468ba; $custom-dark: #000000;
JSON
{
"hex": "#282f9c",
"rgb": {
"r": 40,
"g": 47,
"b": 156
},
"hsl": {
"h": 236.379,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.38008,
"c": 0.17316,
"h": 272
},
"luminance": 0.04884
}Semantic roles & 50–950 ramp
primary
#282F9C
secondary
#BEB862
accent
#D945E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81