#2954AB#2954AB
#2954AB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.148 H 262.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2954AB |
|---|---|
| RGB | rgb(41, 84, 171) |
| HSL | hsl(220, 61%, 42%) |
| HSV | hsv(220, 76%, 67%) |
| CMYK | cmyk(76%, 50.9%, 0%, 32.9%) |
| CIE-LAB | lab(37.39, 16.68, -50.95) |
| CIE-LCH | lch(37.39, 53.61, 288.13°) |
| OKLab | oklab(46.6% -0.0195 -0.1465) |
| OKLCH | oklch(46.6% 0.148 262.4) |
| XYZ | xyz(11.4328, 9.7511, 39.7998) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.11
Denim Blue
#3B5B92
ΔE00 4.15
Dusk Blue
#26538D
ΔE00 4.16
Cobalt
#0047AB
ΔE00 4.24
Denim
#1560BD
ΔE00 5.02
Cobalt (survey)
#1E488F
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2954AB #AB8029
analogous
#2995AB #2954AB #3F29AB
triadic
#2954AB #AB2954 #54AB29
tetradic
#2954AB #AB2995 #AB8029 #29AB3F
square
#2954AB #AB2995 #AB8029 #29AB3F
split-complementary
#2954AB #AB3F29 #95AB29
monochromatic
#112448 #1D3C7A #2954AB #4070D1 #7195DD
Accessibility & contrast
On white
7.12
#2954AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2954AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2954AB
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2954AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2954AB | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E5EAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2954ab; /* rgb */ color: rgb(41, 84, 171); /* oklch */ color: oklch(46.6% 0.148 262.4);
Tailwind
colors: {
custom: {
50: '#7683c5',
500: '#2954ab',
950: '#000000',
},
}SCSS
$custom: #2954ab; $custom-light: #7683c5; $custom-dark: #000000;
JSON
{
"hex": "#2954ab",
"rgb": {
"r": 41,
"g": 84,
"b": 171
},
"hsl": {
"h": 220.154,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.46595,
"c": 0.1478,
"h": 262.4
},
"luminance": 0.09752
}Semantic roles & 50–950 ramp
primary
#2954AB
secondary
#C4A76C
accent
#AF43E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82