#2654B5#2654B5
#2654B5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.162 H 262.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2654B5 |
|---|---|
| RGB | rgb(38, 84, 181) |
| HSL | hsl(221, 65%, 43%) |
| HSV | hsv(221, 79%, 71%) |
| CMYK | cmyk(79%, 53.6%, 0%, 29%) |
| CIE-LAB | lab(38.00, 20.20, -55.88) |
| CIE-LCH | lch(38.00, 59.42, 289.88°) |
| OKLab | oklab(47.25% -0.0205 -0.1611) |
| OKLCH | oklch(47.25% 0.162 262.7) |
| XYZ | xyz(12.3072, 10.0875, 45.0055) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.31
Cobalt
#0047AB
ΔE00 4.37
Denim
#1560BD
ΔE00 4.83
Denim Blue
#3B5B92
ΔE00 5.13
Dusk Blue
#26538D
ΔE00 5.31
Cobalt (survey)
#1E488F
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2654B5 #B58726
analogous
#269CB5 #2654B5 #3F26B5
triadic
#2654B5 #B52654 #54B526
tetradic
#2654B5 #B5269C #B58726 #26B53F
square
#2654B5 #B5269C #B58726 #26B53F
split-complementary
#2654B5 #B53F26 #9CB526
monochromatic
#112550 #1B3D82 #2654B5 #4171D7 #7497E2
Accessibility & contrast
On white
6.96
#2654B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#2654B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2654B5
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2654B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2654B5 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0560B8
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2654b5; /* rgb */ color: rgb(38, 84, 181); /* oklch */ color: oklch(47.3% 0.162 262.7);
Tailwind
colors: {
custom: {
50: '#7783cc',
500: '#2654b5',
950: '#000000',
},
}SCSS
$custom: #2654b5; $custom-light: #7783cc; $custom-dark: #000000;
JSON
{
"hex": "#2654b5",
"rgb": {
"r": 38,
"g": 84,
"b": 181
},
"hsl": {
"h": 220.699,
"s": 65.297,
"l": 42.941
},
"oklch": {
"l": 0.47254,
"c": 0.16238,
"h": 262.7
},
"luminance": 0.10089
}Semantic roles & 50–950 ramp
primary
#2654B5
secondary
#C9AC6E
accent
#B240E8
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82