#2F49AE#2F49AE
#2F49AE is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.164 H 268.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F49AE |
|---|---|
| RGB | rgb(47, 73, 174) |
| HSL | hsl(228, 57%, 43%) |
| HSV | hsv(228, 73%, 68%) |
| CMYK | cmyk(73%, 58%, 0%, 31.8%) |
| CIE-LAB | lab(34.85, 25.89, -56.83) |
| CIE-LCH | lch(34.85, 62.45, 294.49°) |
| OKLab | oklab(44.82% -0.0055 -0.1639) |
| OKLCH | oklch(44.82% 0.164 268.1) |
| XYZ | xyz(11.1922, 8.4242, 41.0724) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.26
Blue Blue
#2242C7
ΔE00 4.05
Sapphire
#0F52BA
ΔE00 4.44
Sapphire (survey)
#2138AB
ΔE00 5.12
Cobalt (survey)
#1E488F
ΔE00 5.43
Ocean Blue
#4F42B5
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F49AE #AE942F
analogous
#2F88AE #2F49AE #552FAE
triadic
#2F49AE #AE2F49 #49AE2F
tetradic
#2F49AE #AE2F88 #AE942F #2FAE55
square
#2F49AE #AE2F88 #AE942F #2FAE55
split-complementary
#2F49AE #AE552F #88AE2F
monochromatic
#15214E #22357E #2F49AE #4C66CF #7C8FDC
Accessibility & contrast
On white
7.82
#2F49AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2F49AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F49AE
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F49AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F49AE | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f49ae; /* rgb */ color: rgb(47, 73, 174); /* oklch */ color: oklch(44.8% 0.164 268.1);
Tailwind
colors: {
custom: {
50: '#797bc7',
500: '#2f49ae',
950: '#000000',
},
}SCSS
$custom: #2f49ae; $custom-light: #797bc7; $custom-dark: #000000;
JSON
{
"hex": "#2f49ae",
"rgb": {
"r": 47,
"g": 73,
"b": 174
},
"hsl": {
"h": 227.717,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.44816,
"c": 0.16399,
"h": 268.1
},
"luminance": 0.08425
}Semantic roles & 50–950 ramp
primary
#2F49AE
secondary
#C4B475
accent
#C147E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82