#2F4DA4#2F4DA4
#2F4DA4 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.145 H 266.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4DA4 |
|---|---|
| RGB | rgb(47, 77, 164) |
| HSL | hsl(225, 55%, 41%) |
| HSV | hsv(225, 71%, 64%) |
| CMYK | cmyk(71.3%, 53%, 0%, 35.7%) |
| CIE-LAB | lab(35.19, 19.47, -50.32) |
| CIE-LCH | lch(35.19, 53.96, 291.15°) |
| OKLab | oklab(44.83% -0.0094 -0.1447) |
| OKLCH | oklch(44.83% 0.145 266.3) |
| XYZ | xyz(10.5247, 8.5914, 36.2184) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.11
Sapphire
#0F52BA
ΔE00 3.83
Cobalt (survey)
#1E488F
ΔE00 3.89
Dusk Blue
#26538D
ΔE00 5.06
Denim Blue
#3B5B92
ΔE00 5.50
Blue Blue
#2242C7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4DA4 #A4862F
analogous
#2F88A4 #2F4DA4 #4C2FA4
triadic
#2F4DA4 #A42F4D #4DA42F
tetradic
#2F4DA4 #A42F88 #A4862F #2FA44C
square
#2F4DA4 #A42F88 #A4862F #2FA44C
split-complementary
#2F4DA4 #A44C2F #88A42F
monochromatic
#142045 #213774 #2F4DA4 #4668CA #768FD8
Accessibility & contrast
On white
7.73
#2F4DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2F4DA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4DA4
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4DA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4DA4 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1358A7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f4da4; /* rgb */ color: rgb(47, 77, 164); /* oklch */ color: oklch(44.8% 0.145 266.3);
Tailwind
colors: {
custom: {
50: '#777ec0',
500: '#2f4da4',
950: '#000000',
},
}SCSS
$custom: #2f4da4; $custom-light: #777ec0; $custom-dark: #000000;
JSON
{
"hex": "#2f4da4",
"rgb": {
"r": 47,
"g": 77,
"b": 164
},
"hsl": {
"h": 224.615,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.4483,
"c": 0.14501,
"h": 266.3
},
"luminance": 0.08592
}Semantic roles & 50–950 ramp
primary
#2F4DA4
secondary
#C0AB6F
accent
#B849DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81