#2F4F91#2F4F91
#2F4F91 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.9% C 0.115 H 263.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4F91 |
|---|---|
| RGB | rgb(47, 79, 145) |
| HSL | hsl(220, 51%, 38%) |
| HSV | hsv(220, 68%, 57%) |
| CMYK | cmyk(67.6%, 45.5%, 0%, 43.1%) |
| CIE-LAB | lab(34.48, 10.97, -39.99) |
| CIE-LCH | lch(34.48, 41.47, 285.34°) |
| OKLab | oklab(43.88% -0.014 -0.1143) |
| OKLCH | oklch(43.88% 0.115 263) |
| XYZ | xyz(9.0773, 8.2398, 27.8946) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.56
Dusk Blue
#26538D
ΔE00 2.83
Denim Blue
#3B5B92
ΔE00 3.99
Cobalt
#0047AB
ΔE00 4.70
Light Navy
#155084
ΔE00 4.91
Light Navy Blue
#2E5A88
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4F91 #91712F
analogous
#2F8091 #2F4F91 #402F91
triadic
#2F4F91 #912F4F #4F912F
tetradic
#2F4F91 #912F80 #91712F #2F9140
square
#2F4F91 #912F80 #91712F #2F9140
split-complementary
#2F4F91 #91402F #80912F
monochromatic
#111D35 #203663 #2F4F91 #3E68BF #6B8CCF
Accessibility & contrast
On white
7.93
#2F4F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2F4F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4F91
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4F91 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5694
Deuteranopia (green-blind)
#1E4D90
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f4f91; /* rgb */ color: rgb(47, 79, 145); /* oklch */ color: oklch(43.9% 0.115 263.0);
Tailwind
colors: {
custom: {
50: '#737fb2',
500: '#2f4f91',
950: '#000000',
},
}SCSS
$custom: #2f4f91; $custom-light: #737fb2; $custom-dark: #000000;
JSON
{
"hex": "#2f4f91",
"rgb": {
"r": 47,
"g": 79,
"b": 145
},
"hsl": {
"h": 220.408,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.4388,
"c": 0.11513,
"h": 263
},
"luminance": 0.08241
}Semantic roles & 50–950 ramp
primary
#2F4F91
secondary
#B69C65
accent
#AC4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80