#2F4EAE#2F4EAE
#2F4EAE is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.158 H 266.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4EAE |
|---|---|
| RGB | rgb(47, 78, 174) |
| HSL | hsl(225, 57%, 43%) |
| HSV | hsv(225, 73%, 68%) |
| CMYK | cmyk(73%, 55.2%, 0%, 31.8%) |
| CIE-LAB | lab(36.19, 22.58, -54.66) |
| CIE-LCH | lch(36.19, 59.14, 292.45°) |
| OKLab | oklab(45.82% -0.0094 -0.1574) |
| OKLCH | oklch(45.82% 0.158 266.6) |
| XYZ | xyz(11.5340, 9.1079, 41.1863) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.11
Cobalt
#0047AB
ΔE00 3.32
Cobalt (survey)
#1E488F
ΔE00 5.14
Blue Blue
#2242C7
ΔE00 5.21
Dusk Blue
#26538D
ΔE00 5.90
Denim Blue
#3B5B92
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4EAE #AE8F2F
analogous
#2F8DAE #2F4EAE #4F2FAE
triadic
#2F4EAE #AE2F4E #4EAE2F
tetradic
#2F4EAE #AE2F8D #AE8F2F #2FAE4F
square
#2F4EAE #AE2F8D #AE8F2F #2FAE4F
split-complementary
#2F4EAE #AE4F2F #8DAE2F
monochromatic
#15234E #22387E #2F4EAE #4C6CCF #7C93DC
Accessibility & contrast
On white
7.44
#2F4EAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2F4EAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4EAE
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4EAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4EAE | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f4eae; /* rgb */ color: rgb(47, 78, 174); /* oklch */ color: oklch(45.8% 0.158 266.6);
Tailwind
colors: {
custom: {
50: '#797fc7',
500: '#2f4eae',
950: '#000000',
},
}SCSS
$custom: #2f4eae; $custom-light: #797fc7; $custom-dark: #000000;
JSON
{
"hex": "#2f4eae",
"rgb": {
"r": 47,
"g": 78,
"b": 174
},
"hsl": {
"h": 225.354,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.45822,
"c": 0.15771,
"h": 266.6
},
"luminance": 0.09109
}Semantic roles & 50–950 ramp
primary
#2F4EAE
secondary
#C4B175
accent
#BB47E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82