#2654B2#2654B2
#2654B2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.158 H 262.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2654B2 |
|---|---|
| RGB | rgb(38, 84, 178) |
| HSL | hsl(220, 65%, 42%) |
| HSV | hsv(220, 79%, 70%) |
| CMYK | cmyk(78.7%, 52.8%, 0%, 30.2%) |
| CIE-LAB | lab(37.78, 19.04, -54.46) |
| CIE-LCH | lch(37.78, 57.70, 289.27°) |
| OKLab | oklab(47.02% -0.0208 -0.1569) |
| OKLCH | oklch(47.02% 0.158 262.4) |
| XYZ | xyz(12.0026, 9.9657, 43.4018) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.42
Cobalt
#0047AB
ΔE00 4.27
Denim
#1560BD
ΔE00 4.81
Denim Blue
#3B5B92
ΔE00 4.83
Dusk Blue
#26538D
ΔE00 4.92
Cobalt (survey)
#1E488F
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2654B2 #B28426
analogous
#269AB2 #2654B2 #3E26B2
triadic
#2654B2 #B22654 #54B226
tetradic
#2654B2 #B2269A #B28426 #26B23E
square
#2654B2 #B2269A #B28426 #26B23E
split-complementary
#2654B2 #B23E26 #9AB226
monochromatic
#10244D #1B3C80 #2654B2 #3F71D6 #7296E1
Accessibility & contrast
On white
7.02
#2654B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2654B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2654B2
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2654B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2654B2 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1060B5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2654b2; /* rgb */ color: rgb(38, 84, 178); /* oklch */ color: oklch(47.0% 0.158 262.4);
Tailwind
colors: {
custom: {
50: '#7683ca',
500: '#2654b2',
950: '#000000',
},
}SCSS
$custom: #2654b2; $custom-light: #7683ca; $custom-dark: #000000;
JSON
{
"hex": "#2654b2",
"rgb": {
"r": 38,
"g": 84,
"b": 178
},
"hsl": {
"h": 220.286,
"s": 64.815,
"l": 42.353
},
"oklch": {
"l": 0.47019,
"c": 0.1583,
"h": 262.4
},
"luminance": 0.09967
}Semantic roles & 50–950 ramp
primary
#2654B2
secondary
#C8AA6C
accent
#B140E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82