#282F72#282F72
#282F72 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.114 H 274.1°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #282F72 |
|---|---|
| RGB | rgb(40, 47, 114) |
| HSL | hsl(234, 48%, 30%) |
| HSV | hsv(234, 65%, 45%) |
| CMYK | cmyk(64.9%, 58.8%, 0%, 55.3%) |
| CIE-LAB | lab(22.65, 19.85, -39.71) |
| CIE-LCH | lch(22.65, 44.40, 296.56°) |
| OKLab | oklab(34.1% 0.0083 -0.1141) |
| OKLCH | oklch(34.1% 0.114 274.1) |
| XYZ | xyz(4.9278, 3.6986, 16.3706) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.14
Midnight Blue
#191970
ΔE00 6.58
Darkslateblue
#483D8B
ΔE00 6.80
Blueberry
#464196
ΔE00 7.85
Marine Blue
#01386A
ΔE00 7.86
Navy Blue
#1B2A4A
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282F72 #726B28
analogous
#285472 #282F72 #462872
triadic
#282F72 #72282F #2F7228
tetradic
#282F72 #722854 #726B28 #287246
square
#282F72 #722854 #726B28 #287246
split-complementary
#282F72 #724628 #547228
monochromatic
#080A17 #181C45 #282F72 #38429F #525DC2
Accessibility & contrast
On white
12.07
#282F72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#282F72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282F72
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282F72 | 1.00 | 12.07 | 1.74 | 12.07 |
| #FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #282f72; /* rgb */ color: rgb(40, 47, 114); /* oklch */ color: oklch(34.1% 0.114 274.1);
Tailwind
colors: {
custom: {
50: '#6b679b',
500: '#282f72',
950: '#000000',
},
}SCSS
$custom: #282f72; $custom-light: #6b679b; $custom-dark: #000000;
JSON
{
"hex": "#282f72",
"rgb": {
"r": 40,
"g": 47,
"b": 114
},
"hsl": {
"h": 234.324,
"s": 48.052,
"l": 30.196
},
"oklch": {
"l": 0.34096,
"c": 0.11437,
"h": 274.1
},
"luminance": 0.03699
}Semantic roles & 50–950 ramp
primary
#282F72
secondary
#A49C52
accent
#CB50D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E