#2F4AA4#2F4AA4
#2F4AA4 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.149 H 267.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4AA4 |
|---|---|
| RGB | rgb(47, 74, 164) |
| HSL | hsl(226, 55%, 41%) |
| HSV | hsv(226, 71%, 64%) |
| CMYK | cmyk(71.3%, 54.9%, 0%, 35.7%) |
| CIE-LAB | lab(34.36, 21.47, -51.66) |
| CIE-LCH | lch(34.36, 55.95, 292.57°) |
| OKLab | oklab(44.21% -0.0068 -0.1487) |
| OKLCH | oklch(44.21% 0.149 267.4) |
| XYZ | xyz(10.3196, 8.1812, 36.1500) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.98
Cobalt (survey)
#1E488F
ΔE00 4.05
Sapphire
#0F52BA
ΔE00 4.51
Blue Blue
#2242C7
ΔE00 5.56
Sapphire (survey)
#2138AB
ΔE00 5.81
Dusk Blue
#26538D
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4AA4 #A4892F
analogous
#2F85A4 #2F4AA4 #4F2FA4
triadic
#2F4AA4 #A42F4A #4AA42F
tetradic
#2F4AA4 #A42F85 #A4892F #2FA44F
square
#2F4AA4 #A42F85 #A4892F #2FA44F
split-complementary
#2F4AA4 #A44F2F #85A42F
monochromatic
#141F45 #213574 #2F4AA4 #4665CA #768CD8
Accessibility & contrast
On white
7.97
#2F4AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2F4AA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4AA4
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4AA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4AA4 | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0156A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f4aa4; /* rgb */ color: rgb(47, 74, 164); /* oklch */ color: oklch(44.2% 0.149 267.4);
Tailwind
colors: {
custom: {
50: '#777cc0',
500: '#2f4aa4',
950: '#000000',
},
}SCSS
$custom: #2f4aa4; $custom-light: #777cc0; $custom-dark: #000000;
JSON
{
"hex": "#2f4aa4",
"rgb": {
"r": 47,
"g": 74,
"b": 164
},
"hsl": {
"h": 226.154,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.44205,
"c": 0.14885,
"h": 267.4
},
"luminance": 0.08182
}Semantic roles & 50–950 ramp
primary
#2F4AA4
secondary
#C0AD6F
accent
#BC49DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81