#2754B4#2754B4
#2754B4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.161 H 262.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2754B4 |
|---|---|
| RGB | rgb(39, 84, 180) |
| HSL | hsl(221, 64%, 43%) |
| HSV | hsv(221, 78%, 71%) |
| CMYK | cmyk(78.3%, 53.3%, 0%, 29.4%) |
| CIE-LAB | lab(37.96, 19.92, -55.35) |
| CIE-LCH | lch(37.96, 58.83, 289.79°) |
| OKLab | oklab(47.21% -0.0199 -0.1595) |
| OKLCH | oklch(47.21% 0.161 262.9) |
| XYZ | xyz(12.2423, 10.0659, 44.4689) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.40
Cobalt
#0047AB
ΔE00 4.35
Denim
#1560BD
ΔE00 4.87
Denim Blue
#3B5B92
ΔE00 5.03
Dusk Blue
#26538D
ΔE00 5.23
Cobalt (survey)
#1E488F
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2754B4 #B48727
analogous
#279AB4 #2754B4 #4027B4
triadic
#2754B4 #B42754 #54B427
tetradic
#2754B4 #B4279A #B48727 #27B440
square
#2754B4 #B4279A #B48727 #27B440
split-complementary
#2754B4 #B44027 #9AB427
monochromatic
#11254F #1C3D82 #2754B4 #4271D6 #7497E1
Accessibility & contrast
On white
6.97
#2754B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2754B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2754B4
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2754B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2754B4 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A60B7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2754b4; /* rgb */ color: rgb(39, 84, 180); /* oklch */ color: oklch(47.2% 0.161 262.9);
Tailwind
colors: {
custom: {
50: '#7783cb',
500: '#2754b4',
950: '#000000',
},
}SCSS
$custom: #2754b4; $custom-light: #7783cb; $custom-dark: #000000;
JSON
{
"hex": "#2754b4",
"rgb": {
"r": 39,
"g": 84,
"b": 180
},
"hsl": {
"h": 220.851,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.47212,
"c": 0.16075,
"h": 262.9
},
"luminance": 0.10067
}Semantic roles & 50–950 ramp
primary
#2754B4
secondary
#C8AC6F
accent
#B240E7
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82