#2F4986#2F4986
#2F4986 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.107 H 264.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4986 |
|---|---|
| RGB | rgb(47, 73, 134) |
| HSL | hsl(222, 48%, 35%) |
| HSV | hsv(222, 65%, 53%) |
| CMYK | cmyk(64.9%, 45.5%, 0%, 47.5%) |
| CIE-LAB | lab(32.01, 10.86, -37.20) |
| CIE-LCH | lch(32.01, 38.75, 286.28°) |
| OKLab | oklab(41.76% -0.0096 -0.1061) |
| OKLCH | oklch(41.76% 0.107 264.8) |
| XYZ | xyz(7.8564, 7.0899, 23.5041) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.45
Darkish Blue
#014182
ΔE00 4.55
Dusk Blue
#26538D
ΔE00 4.57
Twilight Blue
#0A437A
ΔE00 4.84
Cobalt
#0047AB
ΔE00 5.57
Light Navy
#155084
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4986 #866C2F
analogous
#2F7486 #2F4986 #402F86
triadic
#2F4986 #862F49 #49862F
tetradic
#2F4986 #862F74 #866C2F #2F8640
square
#2F4986 #862F74 #866C2F #2F8640
split-complementary
#2F4986 #86402F #74862F
monochromatic
#0F182B #1F3059 #2F4986 #3F62B3 #6684C9
Accessibility & contrast
On white
8.68
#2F4986 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2F4986 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4986
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4986 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4986 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5088
Deuteranopia (green-blind)
#1F4885
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f4986; /* rgb */ color: rgb(47, 73, 134); /* oklch */ color: oklch(41.8% 0.107 264.8);
Tailwind
colors: {
custom: {
50: '#717baa',
500: '#2f4986',
950: '#000000',
},
}SCSS
$custom: #2f4986; $custom-light: #717baa; $custom-dark: #000000;
JSON
{
"hex": "#2f4986",
"rgb": {
"r": 47,
"g": 73,
"b": 134
},
"hsl": {
"h": 222.069,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.4176,
"c": 0.10659,
"h": 264.8
},
"luminance": 0.07091
}Semantic roles & 50–950 ramp
primary
#2F4986
secondary
#B09860
accent
#AF50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F