#2F49B2#2F49B2
#2F49B2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.169 H 268.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2F49B2 |
|---|---|
| RGB | rgb(47, 73, 178) |
| HSL | hsl(228, 58%, 44%) |
| HSV | hsv(228, 74%, 70%) |
| CMYK | cmyk(73.6%, 59%, 0%, 30.2%) |
| CIE-LAB | lab(35.17, 27.38, -58.69) |
| CIE-LCH | lch(35.17, 64.76, 295.01°) |
| OKLab | oklab(45.15% -0.0054 -0.1694) |
| OKLCH | oklch(45.15% 0.169 268.2) |
| XYZ | xyz(11.5879, 8.5826, 43.1567) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.52
Blue Blue
#2242C7
ΔE00 3.56
Sapphire
#0F52BA
ΔE00 4.43
Sapphire (survey)
#2138AB
ΔE00 5.10
Ocean Blue
#4F42B5
ΔE00 5.69
Blue (survey)
#0343DF
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F49B2 #B2982F
analogous
#2F8BB2 #2F49B2 #572FB2
triadic
#2F49B2 #B22F49 #49B22F
tetradic
#2F49B2 #B22F8B #B2982F #2FB257
square
#2F49B2 #B22F8B #B2982F #2FB257
split-complementary
#2F49B2 #B2572F #8BB22F
monochromatic
#152151 #223582 #2F49B2 #4E68D0 #7E91DD
Accessibility & contrast
On white
7.73
#2F49B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2F49B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F49B2
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F49B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F49B2 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f49b2; /* rgb */ color: rgb(47, 73, 178); /* oklch */ color: oklch(45.2% 0.169 268.2);
Tailwind
colors: {
custom: {
50: '#7a7bca',
500: '#2f49b2',
950: '#000000',
},
}SCSS
$custom: #2f49b2; $custom-light: #7a7bca; $custom-dark: #000000;
JSON
{
"hex": "#2f49b2",
"rgb": {
"r": 47,
"g": 73,
"b": 178
},
"hsl": {
"h": 228.092,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.45152,
"c": 0.16945,
"h": 268.2
},
"luminance": 0.08584
}Semantic roles & 50–950 ramp
primary
#2F49B2
secondary
#C6B677
accent
#C346E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82