#2F4AAE#2F4AAE
#2F4AAE is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.163 H 267.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4AAE |
|---|---|
| RGB | rgb(47, 74, 174) |
| HSL | hsl(227, 57%, 43%) |
| HSV | hsv(227, 73%, 68%) |
| CMYK | cmyk(73%, 57.5%, 0%, 31.8%) |
| CIE-LAB | lab(35.12, 25.23, -56.40) |
| CIE-LCH | lch(35.12, 61.79, 294.10°) |
| OKLab | oklab(45.01% -0.0063 -0.1626) |
| OKLCH | oklch(45.01% 0.163 267.8) |
| XYZ | xyz(11.2584, 8.5567, 41.0945) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.20
Sapphire
#0F52BA
ΔE00 4.16
Blue Blue
#2242C7
ΔE00 4.25
Cobalt (survey)
#1E488F
ΔE00 5.33
Sapphire (survey)
#2138AB
ΔE00 5.45
Blueberry
#464196
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4AAE #AE932F
analogous
#2F89AE #2F4AAE #532FAE
triadic
#2F4AAE #AE2F4A #4AAE2F
tetradic
#2F4AAE #AE2F89 #AE932F #2FAE53
square
#2F4AAE #AE2F89 #AE932F #2FAE53
split-complementary
#2F4AAE #AE532F #89AE2F
monochromatic
#15214E #22367E #2F4AAE #4C67CF #7C90DC
Accessibility & contrast
On white
7.74
#2F4AAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2F4AAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4AAE
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4AAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4AAE | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f4aae; /* rgb */ color: rgb(47, 74, 174); /* oklch */ color: oklch(45.0% 0.163 267.8);
Tailwind
colors: {
custom: {
50: '#797cc7',
500: '#2f4aae',
950: '#000000',
},
}SCSS
$custom: #2f4aae; $custom-light: #797cc7; $custom-dark: #000000;
JSON
{
"hex": "#2f4aae",
"rgb": {
"r": 47,
"g": 74,
"b": 174
},
"hsl": {
"h": 227.244,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.45014,
"c": 0.16274,
"h": 267.8
},
"luminance": 0.08558
}Semantic roles & 50–950 ramp
primary
#2F4AAE
secondary
#C4B375
accent
#C047E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82