#2754AB#2754AB
#2754AB is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.5% C 0.148 H 261.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2754AB |
|---|---|
| RGB | rgb(39, 84, 171) |
| HSL | hsl(220, 63%, 41%) |
| HSV | hsv(220, 77%, 67%) |
| CMYK | cmyk(77.2%, 50.9%, 0%, 32.9%) |
| CIE-LAB | lab(37.32, 16.43, -51.07) |
| CIE-LCH | lch(37.32, 53.65, 287.84°) |
| OKLab | oklab(46.52% -0.021 -0.1469) |
| OKLCH | oklch(46.52% 0.148 261.9) |
| XYZ | xyz(11.3551, 9.7110, 39.7961) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.05
Dusk Blue
#26538D
ΔE00 4.04
Denim Blue
#3B5B92
ΔE00 4.17
Cobalt
#0047AB
ΔE00 4.22
Denim
#1560BD
ΔE00 4.92
Cobalt (survey)
#1E488F
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2754AB #AB7E27
analogous
#2796AB #2754AB #3C27AB
triadic
#2754AB #AB2754 #54AB27
tetradic
#2754AB #AB2796 #AB7E27 #27AB3C
square
#2754AB #AB2796 #AB7E27 #27AB3C
split-complementary
#2754AB #AB3C27 #96AB27
monochromatic
#102347 #1C3C79 #2754AB #3D70D3 #6E94DE
Accessibility & contrast
On white
7.14
#2754AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2754AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2754AB
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2754AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2754AB | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 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: #2754ab; /* rgb */ color: rgb(39, 84, 171); /* oklch */ color: oklch(46.5% 0.148 261.9);
Tailwind
colors: {
custom: {
50: '#7583c5',
500: '#2754ab',
950: '#000000',
},
}SCSS
$custom: #2754ab; $custom-light: #7583c5; $custom-dark: #000000;
JSON
{
"hex": "#2754ab",
"rgb": {
"r": 39,
"g": 84,
"b": 171
},
"hsl": {
"h": 219.545,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.46519,
"c": 0.14839,
"h": 261.9
},
"luminance": 0.09712
}Semantic roles & 50–950 ramp
primary
#2754AB
secondary
#C5A569
accent
#AE42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82