#2F4C99#2F4C99
#2F4C99 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.131 H 265.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4C99 |
|---|---|
| RGB | rgb(47, 76, 153) |
| HSL | hsl(224, 53%, 39%) |
| HSV | hsv(224, 69%, 60%) |
| CMYK | cmyk(69.3%, 50.3%, 0%, 40%) |
| CIE-LAB | lab(34.13, 15.99, -45.40) |
| CIE-LCH | lch(34.13, 48.13, 289.40°) |
| OKLab | oklab(43.79% -0.0097 -0.1302) |
| OKLCH | oklch(43.79% 0.131 265.7) |
| XYZ | xyz(9.5045, 8.0722, 31.1880) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.70
Cobalt
#0047AB
ΔE00 3.63
Dusk Blue
#26538D
ΔE00 4.35
Sapphire
#0F52BA
ΔE00 4.95
Denim Blue
#3B5B92
ΔE00 5.21
Darkish Blue
#014182
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4C99 #997C2F
analogous
#2F8199 #2F4C99 #472F99
triadic
#2F4C99 #992F4C #4C992F
tetradic
#2F4C99 #992F81 #997C2F #2F9947
square
#2F4C99 #992F81 #997C2F #2F9947
split-complementary
#2F4C99 #99472F #81992F
monochromatic
#121D3B #21356A #2F4C99 #4165C5 #6F8BD3
Accessibility & contrast
On white
8.03
#2F4C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2F4C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4C99
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4C99 | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21559C
Deuteranopia (green-blind)
#004C97
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f4c99; /* rgb */ color: rgb(47, 76, 153); /* oklch */ color: oklch(43.8% 0.131 265.7);
Tailwind
colors: {
custom: {
50: '#747db8',
500: '#2f4c99',
950: '#000000',
},
}SCSS
$custom: #2f4c99; $custom-light: #747db8; $custom-dark: #000000;
JSON
{
"hex": "#2f4c99",
"rgb": {
"r": 47,
"g": 76,
"b": 153
},
"hsl": {
"h": 223.585,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.43785,
"c": 0.13059,
"h": 265.7
},
"luminance": 0.08073
}Semantic roles & 50–950 ramp
primary
#2F4C99
secondary
#BAA469
accent
#B54BDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80