#2F4186#2F4186
#2F4186 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.0% C 0.117 H 269.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4186 |
|---|---|
| RGB | rgb(47, 65, 134) |
| HSL | hsl(228, 48%, 35%) |
| HSV | hsv(228, 65%, 53%) |
| CMYK | cmyk(64.9%, 51.5%, 0%, 47.5%) |
| CIE-LAB | lab(29.68, 16.27, -40.94) |
| CIE-LCH | lch(29.68, 44.06, 291.68°) |
| OKLab | oklab(39.98% -0.0011 -0.1173) |
| OKLCH | oklch(39.98% 0.117 269.5) |
| XYZ | xyz(7.3642, 6.1055, 23.3400) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.19
Blueberry
#464196
ΔE00 5.18
Darkish Blue
#014182
ΔE00 5.31
Darkslateblue
#483D8B
ΔE00 5.87
Twilight Blue
#0A437A
ΔE00 6.07
Cobalt
#0047AB
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4186 #86742F
analogous
#2F6C86 #2F4186 #482F86
triadic
#2F4186 #862F41 #41862F
tetradic
#2F4186 #862F6C #86742F #2F8648
square
#2F4186 #862F6C #86742F #2F8648
split-complementary
#2F4186 #86482F #6C862F
monochromatic
#0F152B #1F2B59 #2F4186 #3F57B3 #667BC9
Accessibility & contrast
On white
9.45
#2F4186 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2F4186 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4186
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4186 | 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)
#1B4A88
Deuteranopia (green-blind)
#054285
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f4186; /* rgb */ color: rgb(47, 65, 134); /* oklch */ color: oklch(40.0% 0.117 269.5);
Tailwind
colors: {
custom: {
50: '#7175aa',
500: '#2f4186',
950: '#000000',
},
}SCSS
$custom: #2f4186; $custom-light: #7175aa; $custom-dark: #000000;
JSON
{
"hex": "#2f4186",
"rgb": {
"r": 47,
"g": 65,
"b": 134
},
"hsl": {
"h": 227.586,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.39978,
"c": 0.11727,
"h": 269.5
},
"luminance": 0.06106
}Semantic roles & 50–950 ramp
primary
#2F4186
secondary
#B0A060
accent
#BC50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F