#2954AF#2954AF
#2954AF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.153 H 262.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2954AF |
|---|---|
| RGB | rgb(41, 84, 175) |
| HSL | hsl(221, 62%, 42%) |
| HSV | hsv(221, 77%, 69%) |
| CMYK | cmyk(76.6%, 52%, 0%, 31.4%) |
| CIE-LAB | lab(37.67, 18.22, -52.86) |
| CIE-LCH | lch(37.67, 55.91, 289.02°) |
| OKLab | oklab(46.9% -0.019 -0.1521) |
| OKLCH | oklch(46.9% 0.153 262.9) |
| XYZ | xyz(11.8199, 9.9059, 41.8382) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.78
Cobalt
#0047AB
ΔE00 4.26
Denim Blue
#3B5B92
ΔE00 4.53
Dusk Blue
#26538D
ΔE00 4.68
Denim
#1560BD
ΔE00 4.97
Cobalt (survey)
#1E488F
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2954AF #AF8429
analogous
#2997AF #2954AF #4129AF
triadic
#2954AF #AF2954 #54AF29
tetradic
#2954AF #AF2997 #AF8429 #29AF41
square
#2954AF #AF2997 #AF8429 #29AF41
split-complementary
#2954AF #AF4129 #97AF29
monochromatic
#12244C #1D3C7D #2954AF #4271D3 #7496DE
Accessibility & contrast
On white
7.04
#2954AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#2954AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2954AF
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2954AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2954AF | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2954af; /* rgb */ color: rgb(41, 84, 175); /* oklch */ color: oklch(46.9% 0.153 262.9);
Tailwind
colors: {
custom: {
50: '#7783c7',
500: '#2954af',
950: '#000000',
},
}SCSS
$custom: #2954af; $custom-light: #7783c7; $custom-dark: #000000;
JSON
{
"hex": "#2954af",
"rgb": {
"r": 41,
"g": 84,
"b": 175
},
"hsl": {
"h": 220.746,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.46899,
"c": 0.15333,
"h": 262.9
},
"luminance": 0.09907
}Semantic roles & 50–950 ramp
primary
#2954AF
secondary
#C6AA6E
accent
#B143E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82