#2F4AA9#2F4AA9
#2F4AA9 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.156 H 267.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4AA9 |
|---|---|
| RGB | rgb(47, 74, 169) |
| HSL | hsl(227, 56%, 42%) |
| HSV | hsv(227, 72%, 66%) |
| CMYK | cmyk(72.2%, 56.2%, 0%, 33.7%) |
| CIE-LAB | lab(34.73, 23.35, -54.05) |
| CIE-LCH | lch(34.73, 58.88, 293.37°) |
| OKLab | oklab(44.61% -0.0065 -0.1557) |
| OKLCH | oklch(44.61% 0.156 267.6) |
| XYZ | xyz(10.7800, 8.3654, 38.5750) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.00
Sapphire
#0F52BA
ΔE00 4.28
Cobalt (survey)
#1E488F
ΔE00 4.68
Blue Blue
#2242C7
ΔE00 4.89
Sapphire (survey)
#2138AB
ΔE00 5.58
Blueberry
#464196
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4AA9 #A98E2F
analogous
#2F87A9 #2F4AA9 #512FA9
triadic
#2F4AA9 #A92F4A #4AA92F
tetradic
#2F4AA9 #A92F87 #A98E2F #2FA951
square
#2F4AA9 #A92F87 #A98E2F #2FA951
split-complementary
#2F4AA9 #A9512F #87A92F
monochromatic
#142049 #223579 #2F4AA9 #4966CC #798EDA
Accessibility & contrast
On white
7.86
#2F4AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2F4AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4AA9
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4AA9 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f4aa9; /* rgb */ color: rgb(47, 74, 169); /* oklch */ color: oklch(44.6% 0.156 267.6);
Tailwind
colors: {
custom: {
50: '#787cc3',
500: '#2f4aa9',
950: '#000000',
},
}SCSS
$custom: #2f4aa9; $custom-light: #787cc3; $custom-dark: #000000;
JSON
{
"hex": "#2f4aa9",
"rgb": {
"r": 47,
"g": 74,
"b": 169
},
"hsl": {
"h": 226.721,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.44606,
"c": 0.15584,
"h": 267.6
},
"luminance": 0.08366
}Semantic roles & 50–950 ramp
primary
#2F4AA9
secondary
#C2B072
accent
#BE48E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82