#2951AC#2951AC
#2951AC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.153 H 263.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2951AC |
|---|---|
| RGB | rgb(41, 81, 172) |
| HSL | hsl(222, 62%, 42%) |
| HSV | hsv(222, 76%, 67%) |
| CMYK | cmyk(76.2%, 52.9%, 0%, 32.5%) |
| CIE-LAB | lab(36.62, 19.06, -52.79) |
| CIE-LCH | lch(36.62, 56.12, 289.85°) |
| OKLab | oklab(46.03% -0.017 -0.152) |
| OKLCH | oklch(46.03% 0.153 263.6) |
| XYZ | xyz(11.3006, 9.3336, 40.2277) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.12
Cobalt
#0047AB
ΔE00 3.41
Dusk Blue
#26538D
ΔE00 4.66
Cobalt (survey)
#1E488F
ΔE00 4.74
Denim Blue
#3B5B92
ΔE00 4.91
Light Navy Blue
#2E5A88
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2951AC #AC8429
analogous
#2993AC #2951AC #4229AC
triadic
#2951AC #AC2951 #51AC29
tetradic
#2951AC #AC2993 #AC8429 #29AC42
square
#2951AC #AC2993 #AC8429 #29AC42
split-complementary
#2951AC #AC4229 #93AC29
monochromatic
#112249 #1D3A7B #2951AC #416DD2 #7293DD
Accessibility & contrast
On white
7.32
#2951AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2951AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2951AC
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2951AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2951AC | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#115CAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2951ac; /* rgb */ color: rgb(41, 81, 172); /* oklch */ color: oklch(46.0% 0.153 263.6);
Tailwind
colors: {
custom: {
50: '#7681c5',
500: '#2951ac',
950: '#000000',
},
}SCSS
$custom: #2951ac; $custom-light: #7681c5; $custom-dark: #000000;
JSON
{
"hex": "#2951ac",
"rgb": {
"r": 41,
"g": 81,
"b": 172
},
"hsl": {
"h": 221.679,
"s": 61.502,
"l": 41.765
},
"oklch": {
"l": 0.46029,
"c": 0.15293,
"h": 263.6
},
"luminance": 0.09335
}Semantic roles & 50–950 ramp
primary
#2951AC
secondary
#C5AA6C
accent
#B343E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82