#2F4481#2F4481
#2F4481 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.3% C 0.106 H 267.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4481 |
|---|---|
| RGB | rgb(47, 68, 129) |
| HSL | hsl(225, 47%, 35%) |
| HSV | hsv(225, 64%, 51%) |
| CMYK | cmyk(63.6%, 47.3%, 0%, 49.4%) |
| CIE-LAB | lab(30.21, 12.37, -36.98) |
| CIE-LCH | lch(30.21, 38.99, 288.50°) |
| OKLab | oklab(40.28% -0.005 -0.1056) |
| OKLCH | oklch(40.28% 0.106 267.3) |
| XYZ | xyz(7.2005, 6.3229, 21.6056) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.62
Darkish Blue
#014182
ΔE00 4.74
Twilight Blue
#0A437A
ΔE00 5.21
Blueberry
#464196
ΔE00 6.34
Dusk Blue
#26538D
ΔE00 6.35
Cobalt
#0047AB
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4481 #816C2F
analogous
#2F6D81 #2F4481 #432F81
triadic
#2F4481 #812F44 #44812F
tetradic
#2F4481 #812F6D #816C2F #2F8143
square
#2F4481 #812F6D #816C2F #2F8143
split-complementary
#2F4481 #81432F #6D812F
monochromatic
#0E1527 #1F2C54 #2F4481 #3F5CAE #647DC6
Accessibility & contrast
On white
9.27
#2F4481 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2F4481 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4481
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4481 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4481 | 1.00 | 9.27 | 2.26 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274B83
Deuteranopia (green-blind)
#1A4480
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f4481; /* rgb */ color: rgb(47, 68, 129); /* oklch */ color: oklch(40.3% 0.106 267.3);
Tailwind
colors: {
custom: {
50: '#7077a6',
500: '#2f4481',
950: '#000000',
},
}SCSS
$custom: #2f4481; $custom-light: #7077a6; $custom-dark: #000000;
JSON
{
"hex": "#2f4481",
"rgb": {
"r": 47,
"g": 68,
"b": 129
},
"hsl": {
"h": 224.634,
"s": 46.591,
"l": 34.51
},
"oklch": {
"l": 0.40278,
"c": 0.10569,
"h": 267.3
},
"luminance": 0.06324
}Semantic roles & 50–950 ramp
primary
#2F4481
secondary
#AD995E
accent
#B452D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F