#282B7F#282B7F
#282B7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.139 H 274.8°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #282B7F |
|---|---|
| RGB | rgb(40, 43, 127) |
| HSL | hsl(238, 52%, 33%) |
| HSV | hsv(238, 69%, 50%) |
| CMYK | cmyk(68.5%, 66.1%, 0%, 50.2%) |
| CIE-LAB | lab(22.69, 27.42, -47.92) |
| CIE-LCH | lch(22.69, 55.21, 299.78°) |
| OKLab | oklab(34.47% 0.0117 -0.1382) |
| OKLCH | oklch(34.47% 0.139 274.8) |
| XYZ | xyz(5.5684, 3.7107, 20.4973) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.07
Royal
#0C1793
ΔE00 6.31
Darkslateblue
#483D8B
ΔE00 6.56
Sapphire (survey)
#2138AB
ΔE00 7.13
Blueberry
#464196
ΔE00 7.36
Marine
#042E60
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282B7F #7F7C28
analogous
#28567F #282B7F #50287F
triadic
#282B7F #7F282B #2B7F28
tetradic
#282B7F #7F2856 #7F7C28 #287F50
square
#282B7F #7F2856 #7F7C28 #287F50
split-complementary
#282B7F #7F5028 #567F28
monochromatic
#0B0B22 #191B50 #282B7F #373BAE #575BCA
Accessibility & contrast
On white
12.05
#282B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#282B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282B7F
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282B7F | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #282b7f; /* rgb */ color: rgb(40, 43, 127); /* oklch */ color: oklch(34.5% 0.139 274.8);
Tailwind
colors: {
custom: {
50: '#6e64a5',
500: '#282b7f',
950: '#000000',
},
}SCSS
$custom: #282b7f; $custom-light: #6e64a5; $custom-dark: #000000;
JSON
{
"hex": "#282b7f",
"rgb": {
"r": 40,
"g": 43,
"b": 127
},
"hsl": {
"h": 237.931,
"s": 52.096,
"l": 32.745
},
"oklch": {
"l": 0.34473,
"c": 0.1387,
"h": 274.8
},
"luminance": 0.03711
}Semantic roles & 50–950 ramp
primary
#282B7F
secondary
#AFAC54
accent
#D74CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F