#2654B4#2654B4
#2654B4 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.161 H 262.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2654B4 |
|---|---|
| RGB | rgb(38, 84, 180) |
| HSL | hsl(221, 65%, 43%) |
| HSV | hsv(221, 79%, 71%) |
| CMYK | cmyk(78.9%, 53.3%, 0%, 29.4%) |
| CIE-LAB | lab(37.93, 19.81, -55.41) |
| CIE-LCH | lch(37.93, 58.84, 289.68°) |
| OKLab | oklab(47.18% -0.0206 -0.1597) |
| OKLCH | oklch(47.18% 0.161 262.6) |
| XYZ | xyz(12.2049, 10.0466, 44.4671) |
| Luminance | 0.1005 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.33
Cobalt
#0047AB
ΔE00 4.33
Denim
#1560BD
ΔE00 4.82
Denim Blue
#3B5B92
ΔE00 5.03
Dusk Blue
#26538D
ΔE00 5.18
Cobalt (survey)
#1E488F
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2654B4 #B48626
analogous
#269BB4 #2654B4 #3F26B4
triadic
#2654B4 #B42654 #54B426
tetradic
#2654B4 #B4269B #B48626 #26B43F
square
#2654B4 #B4269B #B48626 #26B43F
split-complementary
#2654B4 #B43F26 #9BB426
monochromatic
#11254F #1B3C81 #2654B4 #4071D7 #7397E1
Accessibility & contrast
On white
6.98
#2654B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2654B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2654B4
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2654B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2654B4 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0960B7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2654b4; /* rgb */ color: rgb(38, 84, 180); /* oklch */ color: oklch(47.2% 0.161 262.6);
Tailwind
colors: {
custom: {
50: '#7783cb',
500: '#2654b4',
950: '#000000',
},
}SCSS
$custom: #2654b4; $custom-light: #7783cb; $custom-dark: #000000;
JSON
{
"hex": "#2654b4",
"rgb": {
"r": 38,
"g": 84,
"b": 180
},
"hsl": {
"h": 220.563,
"s": 65.138,
"l": 42.745
},
"oklch": {
"l": 0.47176,
"c": 0.16102,
"h": 262.6
},
"luminance": 0.10048
}Semantic roles & 50–950 ramp
primary
#2654B4
secondary
#C9AB6D
accent
#B240E8
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82