#2951B2#2951B2
#2951B2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.161 H 264.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2951B2 |
|---|---|
| RGB | rgb(41, 81, 178) |
| HSL | hsl(222, 63%, 43%) |
| HSV | hsv(222, 77%, 70%) |
| CMYK | cmyk(77%, 54.5%, 0%, 30.2%) |
| CIE-LAB | lab(37.06, 21.36, -55.63) |
| CIE-LCH | lch(37.06, 59.59, 291.01°) |
| OKLab | oklab(46.5% -0.0164 -0.1603) |
| OKLCH | oklch(46.5% 0.161 264.2) |
| XYZ | xyz(11.8899, 9.5693, 43.3313) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.83
Cobalt
#0047AB
ΔE00 3.59
Dusk Blue
#26538D
ΔE00 5.42
Cobalt (survey)
#1E488F
ΔE00 5.45
Denim Blue
#3B5B92
ΔE00 5.46
Blue Blue
#2242C7
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2951B2 #B28A29
analogous
#2995B2 #2951B2 #4629B2
triadic
#2951B2 #B22951 #51B229
tetradic
#2951B2 #B22995 #B28A29 #29B246
square
#2951B2 #B22995 #B28A29 #29B246
split-complementary
#2951B2 #B24629 #95B229
monochromatic
#12244F #1E3A80 #2951B2 #446ED4 #7695DF
Accessibility & contrast
On white
7.21
#2951B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2951B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2951B2
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2951B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2951B2 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2951b2; /* rgb */ color: rgb(41, 81, 178); /* oklch */ color: oklch(46.5% 0.161 264.2);
Tailwind
colors: {
custom: {
50: '#7781ca',
500: '#2951b2',
950: '#000000',
},
}SCSS
$custom: #2951b2; $custom-light: #7781ca; $custom-dark: #000000;
JSON
{
"hex": "#2951b2",
"rgb": {
"r": 41,
"g": 81,
"b": 178
},
"hsl": {
"h": 222.482,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.46501,
"c": 0.16119,
"h": 264.2
},
"luminance": 0.09571
}Semantic roles & 50–950 ramp
primary
#2951B2
secondary
#C7AE70
accent
#B642E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82