#2654AB#2654AB
#2654AB is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.5% C 0.149 H 261.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2654AB |
|---|---|
| RGB | rgb(38, 84, 171) |
| HSL | hsl(219, 64%, 41%) |
| HSV | hsv(219, 78%, 67%) |
| CMYK | cmyk(77.8%, 50.9%, 0%, 32.9%) |
| CIE-LAB | lab(37.28, 16.32, -51.13) |
| CIE-LCH | lch(37.28, 53.67, 287.70°) |
| OKLab | oklab(46.48% -0.0217 -0.1471) |
| OKLCH | oklch(46.48% 0.149 261.6) |
| XYZ | xyz(11.3177, 9.6917, 39.7944) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.02
Dusk Blue
#26538D
ΔE00 3.99
Denim Blue
#3B5B92
ΔE00 4.18
Cobalt
#0047AB
ΔE00 4.21
Denim
#1560BD
ΔE00 4.87
Cobalt (survey)
#1E488F
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2654AB #AB7D26
analogous
#2696AB #2654AB #3A26AB
triadic
#2654AB #AB2654 #54AB26
tetradic
#2654AB #AB2696 #AB7D26 #26AB3A
square
#2654AB #AB2696 #AB7D26 #26AB3A
split-complementary
#2654AB #AB3A26 #96AB26
monochromatic
#102347 #1B3B79 #2654AB #3B70D3 #6D94DF
Accessibility & contrast
On white
7.15
#2654AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2654AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2654AB
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2654AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2654AB | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 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: #2654ab; /* rgb */ color: rgb(38, 84, 171); /* oklch */ color: oklch(46.5% 0.149 261.6);
Tailwind
colors: {
custom: {
50: '#7583c5',
500: '#2654ab',
950: '#000000',
},
}SCSS
$custom: #2654ab; $custom-light: #7583c5; $custom-dark: #000000;
JSON
{
"hex": "#2654ab",
"rgb": {
"r": 38,
"g": 84,
"b": 171
},
"hsl": {
"h": 219.248,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.46482,
"c": 0.14868,
"h": 261.6
},
"luminance": 0.09693
}Semantic roles & 50–950 ramp
primary
#2654AB
secondary
#C5A568
accent
#AD41E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82