#2654AD#2654AD
#2654AD is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.151 H 261.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2654AD |
|---|---|
| RGB | rgb(38, 84, 173) |
| HSL | hsl(220, 64%, 41%) |
| HSV | hsv(220, 78%, 68%) |
| CMYK | cmyk(78%, 51.4%, 0%, 32.2%) |
| CIE-LAB | lab(37.42, 17.10, -52.09) |
| CIE-LCH | lch(37.42, 54.82, 288.17°) |
| OKLab | oklab(46.63% -0.0214 -0.1499) |
| OKLCH | oklch(46.63% 0.151 261.9) |
| XYZ | xyz(11.5098, 9.7685, 40.8060) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.82
Cobalt
#0047AB
ΔE00 4.20
Dusk Blue
#26538D
ΔE00 4.26
Denim Blue
#3B5B92
ΔE00 4.36
Denim
#1560BD
ΔE00 4.83
Cobalt (survey)
#1E488F
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2654AD #AD7F26
analogous
#2698AD #2654AD #3C26AD
triadic
#2654AD #AD2654 #54AD26
tetradic
#2654AD #AD2698 #AD7F26 #26AD3C
square
#2654AD #AD2698 #AD7F26 #26AD3C
split-complementary
#2654AD #AD3C26 #98AD26
monochromatic
#102349 #1B3C7B #2654AD #3C70D4 #6E95DF
Accessibility & contrast
On white
7.11
#2654AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2654AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2654AD
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2654AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2654AD | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B5FB0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2654ad; /* rgb */ color: rgb(38, 84, 173); /* oklch */ color: oklch(46.6% 0.151 261.9);
Tailwind
colors: {
custom: {
50: '#7583c6',
500: '#2654ad',
950: '#000000',
},
}SCSS
$custom: #2654ad; $custom-light: #7583c6; $custom-dark: #000000;
JSON
{
"hex": "#2654ad",
"rgb": {
"r": 38,
"g": 84,
"b": 173
},
"hsl": {
"h": 219.556,
"s": 63.981,
"l": 41.373
},
"oklch": {
"l": 0.46634,
"c": 0.15143,
"h": 261.9
},
"luminance": 0.0977
}Semantic roles & 50–950 ramp
primary
#2654AD
secondary
#C6A669
accent
#AE41E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82