#2F4382#2F4382
#2F4382 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.109 H 268.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4382 |
|---|---|
| RGB | rgb(47, 67, 130) |
| HSL | hsl(226, 47%, 35%) |
| HSV | hsv(226, 64%, 51%) |
| CMYK | cmyk(63.8%, 48.5%, 0%, 49%) |
| CIE-LAB | lab(29.98, 13.42, -37.96) |
| CIE-LCH | lch(29.98, 40.27, 289.47°) |
| OKLab | oklab(40.13% -0.0038 -0.1085) |
| OKLCH | oklch(40.13% 0.109 268) |
| XYZ | xyz(7.2073, 6.2297, 21.9374) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.80
Darkish Blue
#014182
ΔE00 4.88
Twilight Blue
#0A437A
ΔE00 5.45
Blueberry
#464196
ΔE00 6.02
Cobalt
#0047AB
ΔE00 6.47
Marine Blue
#01386A
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4382 #826E2F
analogous
#2F6D82 #2F4382 #442F82
triadic
#2F4382 #822F43 #43822F
tetradic
#2F4382 #822F6D #826E2F #2F8244
square
#2F4382 #822F6D #826E2F #2F8244
split-complementary
#2F4382 #82442F #6D822F
monochromatic
#0E1528 #1F2C55 #2F4382 #3F5AAF #647CC7
Accessibility & contrast
On white
9.35
#2F4382 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F4382 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4382
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4382 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4382 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244B84
Deuteranopia (green-blind)
#164381
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f4382; /* rgb */ color: rgb(47, 67, 130); /* oklch */ color: oklch(40.1% 0.109 268.0);
Tailwind
colors: {
custom: {
50: '#7076a7',
500: '#2f4382',
950: '#000000',
},
}SCSS
$custom: #2f4382; $custom-light: #7076a7; $custom-dark: #000000;
JSON
{
"hex": "#2f4382",
"rgb": {
"r": 47,
"g": 67,
"b": 130
},
"hsl": {
"h": 225.542,
"s": 46.893,
"l": 34.706
},
"oklch": {
"l": 0.40125,
"c": 0.10856,
"h": 268
},
"luminance": 0.0623
}Semantic roles & 50–950 ramp
primary
#2F4382
secondary
#AE9B5F
accent
#B651D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F