#2F4D95#2F4D95
#2F4D95 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.124 H 264.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4D95 |
|---|---|
| RGB | rgb(47, 77, 149) |
| HSL | hsl(222, 52%, 38%) |
| HSV | hsv(222, 68%, 58%) |
| CMYK | cmyk(68.5%, 48.3%, 0%, 41.6%) |
| CIE-LAB | lab(34.15, 13.81, -42.95) |
| CIE-LCH | lch(34.15, 45.11, 287.83°) |
| OKLab | oklab(43.71% -0.0113 -0.123) |
| OKLCH | oklch(43.71% 0.124 264.8) |
| XYZ | xyz(9.2491, 8.0811, 29.5003) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.43
Dusk Blue
#26538D
ΔE00 3.74
Cobalt
#0047AB
ΔE00 4.07
Denim Blue
#3B5B92
ΔE00 4.74
Sapphire
#0F52BA
ΔE00 5.20
Darkish Blue
#014182
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4D95 #95772F
analogous
#2F8095 #2F4D95 #442F95
triadic
#2F4D95 #952F4D #4D952F
tetradic
#2F4D95 #952F80 #95772F #2F9544
square
#2F4D95 #952F80 #95772F #2F9544
split-complementary
#2F4D95 #95442F #80952F
monochromatic
#121D38 #203566 #2F4D95 #3F66C2 #6D8BD1
Accessibility & contrast
On white
8.03
#2F4D95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2F4D95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4D95
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4D95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4D95 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285598
Deuteranopia (green-blind)
#114C94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f4d95; /* rgb */ color: rgb(47, 77, 149); /* oklch */ color: oklch(43.7% 0.124 264.8);
Tailwind
colors: {
custom: {
50: '#737eb5',
500: '#2f4d95',
950: '#000000',
},
}SCSS
$custom: #2f4d95; $custom-light: #737eb5; $custom-dark: #000000;
JSON
{
"hex": "#2f4d95",
"rgb": {
"r": 47,
"g": 77,
"b": 149
},
"hsl": {
"h": 222.353,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.43713,
"c": 0.12351,
"h": 264.8
},
"luminance": 0.08082
}Semantic roles & 50–950 ramp
primary
#2F4D95
secondary
#B8A167
accent
#B14CDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80