#2754BA#2754BA
#2754BA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.169 H 263.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2754BA |
|---|---|
| RGB | rgb(39, 84, 186) |
| HSL | hsl(222, 65%, 44%) |
| HSV | hsv(222, 79%, 73%) |
| CMYK | cmyk(79%, 54.8%, 0%, 27.1%) |
| CIE-LAB | lab(38.40, 22.24, -58.16) |
| CIE-LCH | lch(38.40, 62.27, 290.92°) |
| OKLab | oklab(47.69% -0.0194 -0.1678) |
| OKLCH | oklch(47.69% 0.169 263.4) |
| XYZ | xyz(12.8668, 10.3156, 47.7578) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.49
Cobalt
#0047AB
ΔE00 4.65
Denim
#1560BD
ΔE00 4.99
Denim Blue
#3B5B92
ΔE00 5.66
Dusk Blue
#26538D
ΔE00 6.01
Blue Blue
#2242C7
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2754BA #BA8D27
analogous
#279EBA #2754BA #4427BA
triadic
#2754BA #BA2754 #54BA27
tetradic
#2754BA #BA279E #BA8D27 #27BA44
square
#2754BA #BA279E #BA8D27 #27BA44
split-complementary
#2754BA #BA4427 #9EBA27
monochromatic
#122655 #1C3D87 #2754BA #4673D8 #7999E3
Accessibility & contrast
On white
6.86
#2754BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2754BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2754BA
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2754BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2754BA | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2754ba; /* rgb */ color: rgb(39, 84, 186); /* oklch */ color: oklch(47.7% 0.169 263.4);
Tailwind
colors: {
custom: {
50: '#7883cf',
500: '#2754ba',
950: '#000000',
},
}SCSS
$custom: #2754ba; $custom-light: #7883cf; $custom-dark: #000000;
JSON
{
"hex": "#2754ba",
"rgb": {
"r": 39,
"g": 84,
"b": 186
},
"hsl": {
"h": 221.633,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.47687,
"c": 0.16889,
"h": 263.4
},
"luminance": 0.10317
}Semantic roles & 50–950 ramp
primary
#2754BA
secondary
#CBB072
accent
#B540E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82