#2754BF#2754BF
#2754BF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.176 H 263.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2754BF |
|---|---|
| RGB | rgb(39, 84, 191) |
| HSL | hsl(222, 66%, 45%) |
| HSV | hsv(222, 80%, 75%) |
| CMYK | cmyk(79.6%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(38.78, 24.16, -60.47) |
| CIE-LCH | lch(38.78, 65.12, 291.77°) |
| OKLab | oklab(48.09% -0.019 -0.1746) |
| OKLCH | oklch(48.09% 0.176 263.8) |
| XYZ | xyz(13.4076, 10.5320, 50.6064) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.88
Cobalt
#0047AB
ΔE00 5.00
Denim
#1560BD
ΔE00 5.17
Blue Blue
#2242C7
ΔE00 5.99
Denim Blue
#3B5B92
ΔE00 6.20
Azul
#1D5DEC
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2754BF #BF9227
analogous
#27A0BF #2754BF #4627BF
triadic
#2754BF #BF2754 #54BF27
tetradic
#2754BF #BF27A0 #BF9227 #27BF46
square
#2754BF #BF27A0 #BF9227 #27BF46
split-complementary
#2754BF #BF4627 #A0BF27
monochromatic
#122759 #1D3E8C #2754BF #4974DA #7C9BE4
Accessibility & contrast
On white
6.76
#2754BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2754BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2754BF
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2754BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2754BF | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2754bf; /* rgb */ color: rgb(39, 84, 191); /* oklch */ color: oklch(48.1% 0.176 263.8);
Tailwind
colors: {
custom: {
50: '#7a83d3',
500: '#2754bf',
950: '#000000',
},
}SCSS
$custom: #2754bf; $custom-light: #7a83d3; $custom-dark: #000000;
JSON
{
"hex": "#2754bf",
"rgb": {
"r": 39,
"g": 84,
"b": 191
},
"hsl": {
"h": 222.237,
"s": 66.087,
"l": 45.098
},
"oklch": {
"l": 0.48091,
"c": 0.17559,
"h": 263.8
},
"luminance": 0.10534
}Semantic roles & 50–950 ramp
primary
#2754BF
secondary
#CCB375
accent
#B73FE9
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83