#2F49B1#2F49B1
#2F49B1 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.168 H 268.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F49B1 |
|---|---|
| RGB | rgb(47, 73, 177) |
| HSL | hsl(228, 58%, 44%) |
| HSV | hsv(228, 73%, 69%) |
| CMYK | cmyk(73.4%, 58.8%, 0%, 30.6%) |
| CIE-LAB | lab(35.09, 27.01, -58.23) |
| CIE-LCH | lch(35.09, 64.19, 294.88°) |
| OKLab | oklab(45.07% -0.0054 -0.168) |
| OKLCH | oklch(45.07% 0.168 268.1) |
| XYZ | xyz(11.4879, 8.5425, 42.6299) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.45
Blue Blue
#2242C7
ΔE00 3.68
Sapphire
#0F52BA
ΔE00 4.43
Sapphire (survey)
#2138AB
ΔE00 5.10
Ocean Blue
#4F42B5
ΔE00 5.75
Cobalt (survey)
#1E488F
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F49B1 #B1972F
analogous
#2F8AB1 #2F49B1 #562FB1
triadic
#2F49B1 #B12F49 #49B12F
tetradic
#2F49B1 #B12F8A #B1972F #2FB156
square
#2F49B1 #B12F8A #B1972F #2FB156
split-complementary
#2F49B1 #B1562F #8AB12F
monochromatic
#152150 #223581 #2F49B1 #4D67D0 #7E91DD
Accessibility & contrast
On white
7.75
#2F49B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2F49B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F49B1
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F49B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F49B1 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f49b1; /* rgb */ color: rgb(47, 73, 177); /* oklch */ color: oklch(45.1% 0.168 268.1);
Tailwind
colors: {
custom: {
50: '#7a7bc9',
500: '#2f49b1',
950: '#000000',
},
}SCSS
$custom: #2f49b1; $custom-light: #7a7bc9; $custom-dark: #000000;
JSON
{
"hex": "#2f49b1",
"rgb": {
"r": 47,
"g": 73,
"b": 177
},
"hsl": {
"h": 228,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.45067,
"c": 0.16809,
"h": 268.1
},
"luminance": 0.08544
}Semantic roles & 50–950 ramp
primary
#2F49B1
secondary
#C5B676
accent
#C247E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82