#2F4F93#2F4F93
#2F4F93 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.0% C 0.118 H 263.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4F93 |
|---|---|
| RGB | rgb(47, 79, 147) |
| HSL | hsl(221, 52%, 38%) |
| HSV | hsv(221, 68%, 58%) |
| CMYK | cmyk(68%, 46.3%, 0%, 42.4%) |
| CIE-LAB | lab(34.60, 11.72, -41.01) |
| CIE-LCH | lch(34.60, 42.65, 285.96°) |
| OKLab | oklab(44.02% -0.0136 -0.1172) |
| OKLCH | oklch(44.02% 0.118 263.4) |
| XYZ | xyz(9.2329, 8.3020, 28.7140) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.61
Dusk Blue
#26538D
ΔE00 2.97
Denim Blue
#3B5B92
ΔE00 4.02
Cobalt
#0047AB
ΔE00 4.51
Light Navy
#155084
ΔE00 5.07
Light Navy Blue
#2E5A88
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4F93 #93732F
analogous
#2F8193 #2F4F93 #412F93
triadic
#2F4F93 #932F4F #4F932F
tetradic
#2F4F93 #932F81 #93732F #2F9341
square
#2F4F93 #932F81 #93732F #2F9341
split-complementary
#2F4F93 #93412F #81932F
monochromatic
#111D36 #203665 #2F4F93 #3E68C1 #6C8CD0
Accessibility & contrast
On white
7.89
#2F4F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2F4F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4F93
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4F93 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5696
Deuteranopia (green-blind)
#1B4D92
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f4f93; /* rgb */ color: rgb(47, 79, 147); /* oklch */ color: oklch(44.0% 0.118 263.4);
Tailwind
colors: {
custom: {
50: '#737fb3',
500: '#2f4f93',
950: '#000000',
},
}SCSS
$custom: #2f4f93; $custom-light: #737fb3; $custom-dark: #000000;
JSON
{
"hex": "#2f4f93",
"rgb": {
"r": 47,
"g": 79,
"b": 147
},
"hsl": {
"h": 220.8,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.44018,
"c": 0.11804,
"h": 263.4
},
"luminance": 0.08303
}Semantic roles & 50–950 ramp
primary
#2F4F93
secondary
#B79D66
accent
#AD4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80