#2F4185#2F4185
#2F4185 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.116 H 269.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4185 |
|---|---|
| RGB | rgb(47, 65, 133) |
| HSL | hsl(227, 48%, 35%) |
| HSV | hsv(227, 65%, 52%) |
| CMYK | cmyk(64.7%, 51.1%, 0%, 47.8%) |
| CIE-LAB | lab(29.61, 15.90, -40.43) |
| CIE-LCH | lch(29.61, 43.45, 291.47°) |
| OKLab | oklab(39.9% -0.0012 -0.1158) |
| OKLCH | oklch(39.9% 0.116 269.4) |
| XYZ | xyz(7.2948, 6.0778, 22.9745) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.22
Darkish Blue
#014182
ΔE00 5.28
Blueberry
#464196
ΔE00 5.29
Darkslateblue
#483D8B
ΔE00 5.93
Twilight Blue
#0A437A
ΔE00 6.02
Cobalt
#0047AB
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4185 #85732F
analogous
#2F6C85 #2F4185 #482F85
triadic
#2F4185 #852F41 #41852F
tetradic
#2F4185 #852F6C #85732F #2F8548
square
#2F4185 #852F6C #85732F #2F8548
split-complementary
#2F4185 #85482F #6C852F
monochromatic
#0F152B #1F2B58 #2F4185 #3F57B2 #667AC9
Accessibility & contrast
On white
9.48
#2F4185 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2F4185 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4185
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4185 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4185 | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4A87
Deuteranopia (green-blind)
#084284
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f4185; /* rgb */ color: rgb(47, 65, 133); /* oklch */ color: oklch(39.9% 0.116 269.4);
Tailwind
colors: {
custom: {
50: '#7175a9',
500: '#2f4185',
950: '#000000',
},
}SCSS
$custom: #2f4185; $custom-light: #7175a9; $custom-dark: #000000;
JSON
{
"hex": "#2f4185",
"rgb": {
"r": 47,
"g": 65,
"b": 133
},
"hsl": {
"h": 227.442,
"s": 47.778,
"l": 35.294
},
"oklch": {
"l": 0.39903,
"c": 0.11579,
"h": 269.4
},
"luminance": 0.06078
}Semantic roles & 50–950 ramp
primary
#2F4185
secondary
#B09F60
accent
#BB50D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F