#2F4985#2F4985
#2F4985 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.105 H 264.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4985 |
|---|---|
| RGB | rgb(47, 73, 133) |
| HSL | hsl(222, 48%, 35%) |
| HSV | hsv(222, 65%, 52%) |
| CMYK | cmyk(64.7%, 45.1%, 0%, 47.8%) |
| CIE-LAB | lab(31.95, 10.49, -36.68) |
| CIE-LCH | lch(31.95, 38.15, 285.96°) |
| OKLab | oklab(41.69% -0.0098 -0.1046) |
| OKLCH | oklch(41.69% 0.105 264.6) |
| XYZ | xyz(7.7870, 7.0622, 23.1385) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.52
Darkish Blue
#014182
ΔE00 4.52
Dusk Blue
#26538D
ΔE00 4.57
Twilight Blue
#0A437A
ΔE00 4.78
Cobalt
#0047AB
ΔE00 5.69
Light Navy
#155084
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4985 #856B2F
analogous
#2F7485 #2F4985 #402F85
triadic
#2F4985 #852F49 #49852F
tetradic
#2F4985 #852F74 #856B2F #2F8540
square
#2F4985 #852F74 #856B2F #2F8540
split-complementary
#2F4985 #85402F #74852F
monochromatic
#0F172B #1F3058 #2F4985 #3F62B2 #6684C9
Accessibility & contrast
On white
8.70
#2F4985 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2F4985 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4985
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4985 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4985 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4F87
Deuteranopia (green-blind)
#204784
Tritanopia (blue-blind)
#005760
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f4985; /* rgb */ color: rgb(47, 73, 133); /* oklch */ color: oklch(41.7% 0.105 264.6);
Tailwind
colors: {
custom: {
50: '#707ba9',
500: '#2f4985',
950: '#000000',
},
}SCSS
$custom: #2f4985; $custom-light: #707ba9; $custom-dark: #000000;
JSON
{
"hex": "#2f4985",
"rgb": {
"r": 47,
"g": 73,
"b": 133
},
"hsl": {
"h": 221.86,
"s": 47.778,
"l": 35.294
},
"oklch": {
"l": 0.41691,
"c": 0.10509,
"h": 264.6
},
"luminance": 0.07063
}Semantic roles & 50–950 ramp
primary
#2F4985
secondary
#B09860
accent
#AF50D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F