#2F49AB#2F49AB
#2F49AB is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.160 H 268.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F49AB |
|---|---|
| RGB | rgb(47, 73, 171) |
| HSL | hsl(227, 57%, 43%) |
| HSV | hsv(227, 73%, 67%) |
| CMYK | cmyk(72.5%, 57.3%, 0%, 32.9%) |
| CIE-LAB | lab(34.62, 24.77, -55.43) |
| CIE-LCH | lch(34.62, 60.71, 294.07°) |
| OKLab | oklab(44.57% -0.0056 -0.1598) |
| OKLCH | oklch(44.57% 0.16 268) |
| XYZ | xyz(10.9030, 8.3086, 39.5493) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.12
Blue Blue
#2242C7
ΔE00 4.44
Sapphire
#0F52BA
ΔE00 4.50
Cobalt (survey)
#1E488F
ΔE00 5.05
Sapphire (survey)
#2138AB
ΔE00 5.18
Blueberry
#464196
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F49AB #AB912F
analogous
#2F87AB #2F49AB #532FAB
triadic
#2F49AB #AB2F49 #49AB2F
tetradic
#2F49AB #AB2F87 #AB912F #2FAB53
square
#2F49AB #AB2F87 #AB912F #2FAB53
split-complementary
#2F49AB #AB532F #87AB2F
monochromatic
#15204B #22357B #2F49AB #4A65CD #7A8EDA
Accessibility & contrast
On white
7.89
#2F49AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2F49AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F49AB
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F49AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F49AB | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f49ab; /* rgb */ color: rgb(47, 73, 171); /* oklch */ color: oklch(44.6% 0.160 268.0);
Tailwind
colors: {
custom: {
50: '#787bc5',
500: '#2f49ab',
950: '#000000',
},
}SCSS
$custom: #2f49ab; $custom-light: #787bc5; $custom-dark: #000000;
JSON
{
"hex": "#2f49ab",
"rgb": {
"r": 47,
"g": 73,
"b": 171
},
"hsl": {
"h": 227.419,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.44567,
"c": 0.15987,
"h": 268
},
"luminance": 0.0831
}Semantic roles & 50–950 ramp
primary
#2F49AB
secondary
#C3B273
accent
#C048E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82