#2754B2#2754B2
#2754B2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.158 H 262.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2754B2 |
|---|---|
| RGB | rgb(39, 84, 178) |
| HSL | hsl(221, 64%, 43%) |
| HSV | hsv(221, 78%, 70%) |
| CMYK | cmyk(78.1%, 52.8%, 0%, 30.2%) |
| CIE-LAB | lab(37.82, 19.15, -54.41) |
| CIE-LCH | lch(37.82, 57.68, 289.39°) |
| OKLab | oklab(47.06% -0.0201 -0.1567) |
| OKLCH | oklch(47.06% 0.158 262.7) |
| XYZ | xyz(12.0400, 9.9849, 43.4036) |
| Luminance | 0.0999 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.48
Cobalt
#0047AB
ΔE00 4.29
Denim Blue
#3B5B92
ΔE00 4.83
Denim
#1560BD
ΔE00 4.86
Dusk Blue
#26538D
ΔE00 4.97
Cobalt (survey)
#1E488F
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2754B2 #B28527
analogous
#2799B2 #2754B2 #4027B2
triadic
#2754B2 #B22754 #54B227
tetradic
#2754B2 #B22799 #B28527 #27B240
square
#2754B2 #B22799 #B28527 #27B240
split-complementary
#2754B2 #B24027 #99B227
monochromatic
#11254E #1C3C80 #2754B2 #4171D5 #7396E0
Accessibility & contrast
On white
7.01
#2754B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#2754B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2754B2
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2754B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2754B2 | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 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: #2754b2; /* rgb */ color: rgb(39, 84, 178); /* oklch */ color: oklch(47.1% 0.158 262.7);
Tailwind
colors: {
custom: {
50: '#7783ca',
500: '#2754b2',
950: '#000000',
},
}SCSS
$custom: #2754b2; $custom-light: #7783ca; $custom-dark: #000000;
JSON
{
"hex": "#2754b2",
"rgb": {
"r": 39,
"g": 84,
"b": 178
},
"hsl": {
"h": 220.576,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.47055,
"c": 0.15802,
"h": 262.7
},
"luminance": 0.09986
}Semantic roles & 50–950 ramp
primary
#2754B2
secondary
#C8AA6D
accent
#B141E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82