#2F4785#2F4785
#2F4785 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.108 H 265.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4785 |
|---|---|
| RGB | rgb(47, 71, 133) |
| HSL | hsl(223, 48%, 35%) |
| HSV | hsv(223, 65%, 52%) |
| CMYK | cmyk(64.7%, 46.6%, 0%, 47.8%) |
| CIE-LAB | lab(31.36, 11.83, -37.63) |
| CIE-LCH | lch(31.36, 39.44, 287.46°) |
| OKLab | oklab(41.24% -0.0076 -0.1074) |
| OKLCH | oklch(41.24% 0.108 265.9) |
| XYZ | xyz(7.6577, 6.8036, 23.0954) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.77
Darkish Blue
#014182
ΔE00 4.55
Twilight Blue
#0A437A
ΔE00 4.96
Dusk Blue
#26538D
ΔE00 5.28
Cobalt
#0047AB
ΔE00 5.76
Twilight
#4E518B
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4785 #856D2F
analogous
#2F7285 #2F4785 #422F85
triadic
#2F4785 #852F47 #47852F
tetradic
#2F4785 #852F72 #856D2F #2F8542
square
#2F4785 #852F72 #856D2F #2F8542
split-complementary
#2F4785 #85422F #72852F
monochromatic
#0F172B #1F2F58 #2F4785 #3F5FB2 #6681C9
Accessibility & contrast
On white
8.90
#2F4785 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2F4785 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4785
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4785 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4785 | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294E87
Deuteranopia (green-blind)
#1B4684
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f4785; /* rgb */ color: rgb(47, 71, 133); /* oklch */ color: oklch(41.2% 0.108 265.9);
Tailwind
colors: {
custom: {
50: '#7179a9',
500: '#2f4785',
950: '#000000',
},
}SCSS
$custom: #2f4785; $custom-light: #7179a9; $custom-dark: #000000;
JSON
{
"hex": "#2f4785",
"rgb": {
"r": 47,
"g": 71,
"b": 133
},
"hsl": {
"h": 223.256,
"s": 47.778,
"l": 35.294
},
"oklch": {
"l": 0.41236,
"c": 0.10771,
"h": 265.9
},
"luminance": 0.06804
}Semantic roles & 50–950 ramp
primary
#2F4785
secondary
#B09A60
accent
#B250D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F