#2F4C7E#2F4C7E
#2F4C7E is a dark, moderate blue. Relative luminance 0.073; OKLCH L 41.9% C 0.091 H 260.6°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4C7E |
|---|---|
| RGB | rgb(47, 76, 126) |
| HSL | hsl(218, 46%, 34%) |
| HSV | hsv(218, 63%, 49%) |
| CMYK | cmyk(62.7%, 39.7%, 0%, 50.6%) |
| CIE-LAB | lab(32.43, 5.90, -31.57) |
| CIE-LCH | lch(32.43, 32.12, 280.58°) |
| OKLab | oklab(41.93% -0.0148 -0.0896) |
| OKLCH | oklch(41.93% 0.091 260.6) |
| XYZ | xyz(7.5213, 7.2789, 20.7432) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.16
Dusk Blue
#26538D
ΔE00 3.63
Twilight Blue
#0A437A
ΔE00 4.40
Light Navy
#155084
ΔE00 4.60
Darkish Blue
#014182
ΔE00 4.70
Prussian Blue
#004577
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4C7E #7E612F
analogous
#2F747E #2F4C7E #3A2F7E
triadic
#2F4C7E #7E2F4C #4C7E2F
tetradic
#2F4C7E #7E2F74 #7E612F #2F7E3A
square
#2F4C7E #7E2F74 #7E612F #2F7E3A
split-complementary
#2F4C7E #7E3A2F #747E2F
monochromatic
#0E1625 #1E3151 #2F4C7E #4067AB #6387C5
Accessibility & contrast
On white
8.55
#2F4C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2F4C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4C7E
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4C7E | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375080
Deuteranopia (green-blind)
#2C497D
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f4c7e; /* rgb */ color: rgb(47, 76, 126); /* oklch */ color: oklch(41.9% 0.091 260.6);
Tailwind
colors: {
custom: {
50: '#6f7da3',
500: '#2f4c7e',
950: '#000000',
},
}SCSS
$custom: #2f4c7e; $custom-light: #6f7da3; $custom-dark: #000000;
JSON
{
"hex": "#2f4c7e",
"rgb": {
"r": 47,
"g": 76,
"b": 126
},
"hsl": {
"h": 217.975,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.4193,
"c": 0.09083,
"h": 260.6
},
"luminance": 0.0728
}Semantic roles & 50–950 ramp
primary
#2F4C7E
secondary
#AC8F5D
accent
#A552D5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F