#2F4F92#2F4F92
#2F4F92 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.9% C 0.117 H 263.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4F92 |
|---|---|
| RGB | rgb(47, 79, 146) |
| HSL | hsl(221, 51%, 38%) |
| HSV | hsv(221, 68%, 57%) |
| CMYK | cmyk(67.8%, 45.9%, 0%, 42.7%) |
| CIE-LAB | lab(34.54, 11.35, -40.50) |
| CIE-LCH | lch(34.54, 42.06, 285.65°) |
| OKLab | oklab(43.95% -0.0138 -0.1158) |
| OKLCH | oklch(43.95% 0.117 263.2) |
| XYZ | xyz(9.1548, 8.2707, 28.3025) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.58
Dusk Blue
#26538D
ΔE00 2.90
Denim Blue
#3B5B92
ΔE00 4.00
Cobalt
#0047AB
ΔE00 4.60
Light Navy
#155084
ΔE00 4.99
Light Navy Blue
#2E5A88
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4F92 #92722F
analogous
#2F8092 #2F4F92 #402F92
triadic
#2F4F92 #922F4F #4F922F
tetradic
#2F4F92 #922F80 #92722F #2F9240
square
#2F4F92 #922F80 #92722F #2F9240
split-complementary
#2F4F92 #92402F #80922F
monochromatic
#111D35 #203664 #2F4F92 #3E68C0 #6C8CD0
Accessibility & contrast
On white
7.91
#2F4F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2F4F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4F92
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4F92 | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#1D4D91
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f4f92; /* rgb */ color: rgb(47, 79, 146); /* oklch */ color: oklch(43.9% 0.117 263.2);
Tailwind
colors: {
custom: {
50: '#737fb2',
500: '#2f4f92',
950: '#000000',
},
}SCSS
$custom: #2f4f92; $custom-light: #737fb2; $custom-dark: #000000;
JSON
{
"hex": "#2f4f92",
"rgb": {
"r": 47,
"g": 79,
"b": 146
},
"hsl": {
"h": 220.606,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.43949,
"c": 0.11659,
"h": 263.2
},
"luminance": 0.08272
}Semantic roles & 50–950 ramp
primary
#2F4F92
secondary
#B79D66
accent
#AD4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80