#2F4282#2F4282
#2F4282 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.110 H 268.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4282 |
|---|---|
| RGB | rgb(47, 66, 130) |
| HSL | hsl(226, 47%, 35%) |
| HSV | hsv(226, 64%, 51%) |
| CMYK | cmyk(63.8%, 49.2%, 0%, 49%) |
| CIE-LAB | lab(29.69, 14.10, -38.43) |
| CIE-LCH | lch(29.69, 40.94, 290.15°) |
| OKLab | oklab(39.9% -0.0027 -0.1099) |
| OKLCH | oklch(39.9% 0.11 268.6) |
| XYZ | xyz(7.1484, 6.1119, 21.9178) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.06
Darkish Blue
#014182
ΔE00 5.04
Twilight Blue
#0A437A
ΔE00 5.65
Blueberry
#464196
ΔE00 5.82
Darkslateblue
#483D8B
ΔE00 6.38
Cobalt
#0047AB
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4282 #826F2F
analogous
#2F6C82 #2F4282 #462F82
triadic
#2F4282 #822F42 #42822F
tetradic
#2F4282 #822F6C #826F2F #2F8246
square
#2F4282 #822F6C #826F2F #2F8246
split-complementary
#2F4282 #82462F #6C822F
monochromatic
#0E1428 #1F2B55 #2F4282 #3F59AF #647BC7
Accessibility & contrast
On white
9.45
#2F4282 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2F4282 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4282
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4282 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4282 | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224A84
Deuteranopia (green-blind)
#134281
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f4282; /* rgb */ color: rgb(47, 66, 130); /* oklch */ color: oklch(39.9% 0.110 268.6);
Tailwind
colors: {
custom: {
50: '#7076a7',
500: '#2f4282',
950: '#000000',
},
}SCSS
$custom: #2f4282; $custom-light: #7076a7; $custom-dark: #000000;
JSON
{
"hex": "#2f4282",
"rgb": {
"r": 47,
"g": 66,
"b": 130
},
"hsl": {
"h": 226.265,
"s": 46.893,
"l": 34.706
},
"oklch": {
"l": 0.39902,
"c": 0.10991,
"h": 268.6
},
"luminance": 0.06112
}Semantic roles & 50–950 ramp
primary
#2F4282
secondary
#AE9C5F
accent
#B851D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F