#2754B5#2754B5
#2754B5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.162 H 263.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2754B5 |
|---|---|
| RGB | rgb(39, 84, 181) |
| HSL | hsl(221, 65%, 43%) |
| HSV | hsv(221, 78%, 71%) |
| CMYK | cmyk(78.5%, 53.6%, 0%, 29%) |
| CIE-LAB | lab(38.03, 20.31, -55.82) |
| CIE-LCH | lch(38.03, 59.40, 289.99°) |
| OKLab | oklab(47.29% -0.0198 -0.1609) |
| OKLCH | oklch(47.29% 0.162 263) |
| XYZ | xyz(12.3445, 10.1067, 45.0073) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.38
Cobalt
#0047AB
ΔE00 4.39
Denim
#1560BD
ΔE00 4.88
Denim Blue
#3B5B92
ΔE00 5.13
Dusk Blue
#26538D
ΔE00 5.36
Cobalt (survey)
#1E488F
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2754B5 #B58827
analogous
#279BB5 #2754B5 #4127B5
triadic
#2754B5 #B52754 #54B527
tetradic
#2754B5 #B5279B #B58827 #27B541
square
#2754B5 #B5279B #B58827 #27B541
split-complementary
#2754B5 #B54127 #9BB527
monochromatic
#112550 #1C3D83 #2754B5 #4372D6 #7597E1
Accessibility & contrast
On white
6.95
#2754B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#2754B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2754B5
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2754B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2754B5 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0660B8
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2754b5; /* rgb */ color: rgb(39, 84, 181); /* oklch */ color: oklch(47.3% 0.162 263.0);
Tailwind
colors: {
custom: {
50: '#7783cc',
500: '#2754b5',
950: '#000000',
},
}SCSS
$custom: #2754b5; $custom-light: #7783cc; $custom-dark: #000000;
JSON
{
"hex": "#2754b5",
"rgb": {
"r": 39,
"g": 84,
"b": 181
},
"hsl": {
"h": 220.986,
"s": 64.545,
"l": 43.137
},
"oklch": {
"l": 0.4729,
"c": 0.16211,
"h": 263
},
"luminance": 0.10108
}Semantic roles & 50–950 ramp
primary
#2754B5
secondary
#C9AC6F
accent
#B340E8
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82