#2F4D97#2F4D97
#2F4D97 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.126 H 265.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4D97 |
|---|---|
| RGB | rgb(47, 77, 151) |
| HSL | hsl(223, 53%, 39%) |
| HSV | hsv(223, 69%, 59%) |
| CMYK | cmyk(68.9%, 49%, 0%, 40.8%) |
| CIE-LAB | lab(34.28, 14.57, -43.95) |
| CIE-LCH | lch(34.28, 46.30, 288.34°) |
| OKLab | oklab(43.86% -0.011 -0.1259) |
| OKLCH | oklch(43.86% 0.126 265) |
| XYZ | xyz(9.4101, 8.1455, 30.3485) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.56
Dusk Blue
#26538D
ΔE00 3.88
Cobalt
#0047AB
ΔE00 3.89
Denim Blue
#3B5B92
ΔE00 4.80
Sapphire
#0F52BA
ΔE00 4.99
Darkish Blue
#014182
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4D97 #97792F
analogous
#2F8197 #2F4D97 #452F97
triadic
#2F4D97 #972F4D #4D972F
tetradic
#2F4D97 #972F81 #97792F #2F9745
square
#2F4D97 #972F81 #97792F #2F9745
split-complementary
#2F4D97 #97452F #81972F
monochromatic
#121D3A #203568 #2F4D97 #4066C3 #6E8BD2
Accessibility & contrast
On white
7.99
#2F4D97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2F4D97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4D97
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4D97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4D97 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#0C4C95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f4d97; /* rgb */ color: rgb(47, 77, 151); /* oklch */ color: oklch(43.9% 0.126 265.0);
Tailwind
colors: {
custom: {
50: '#747eb6',
500: '#2f4d97',
950: '#000000',
},
}SCSS
$custom: #2f4d97; $custom-light: #747eb6; $custom-dark: #000000;
JSON
{
"hex": "#2f4d97",
"rgb": {
"r": 47,
"g": 77,
"b": 151
},
"hsl": {
"h": 222.692,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.43857,
"c": 0.12641,
"h": 265
},
"luminance": 0.08146
}Semantic roles & 50–950 ramp
primary
#2F4D97
secondary
#B9A268
accent
#B24CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80