#2754BE#2754BE
#2754BE is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.174 H 263.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2754BE |
|---|---|
| RGB | rgb(39, 84, 190) |
| HSL | hsl(222, 66%, 45%) |
| HSV | hsv(222, 79%, 75%) |
| CMYK | cmyk(79.5%, 55.8%, 0%, 25.5%) |
| CIE-LAB | lab(38.70, 23.77, -60.01) |
| CIE-LCH | lch(38.70, 64.55, 291.61°) |
| OKLab | oklab(48.01% -0.0191 -0.1732) |
| OKLCH | oklch(48.01% 0.174 263.7) |
| XYZ | xyz(13.2980, 10.4881, 50.0288) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.78
Cobalt
#0047AB
ΔE00 4.92
Denim
#1560BD
ΔE00 5.13
Blue Blue
#2242C7
ΔE00 6.04
Denim Blue
#3B5B92
ΔE00 6.09
Azul
#1D5DEC
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2754BE #BE9127
analogous
#27A0BE #2754BE #4527BE
triadic
#2754BE #BE2754 #54BE27
tetradic
#2754BE #BE27A0 #BE9127 #27BE45
square
#2754BE #BE27A0 #BE9127 #27BE45
split-complementary
#2754BE #BE4527 #A0BE27
monochromatic
#122758 #1D3E8B #2754BE #4974DA #7B9BE4
Accessibility & contrast
On white
6.78
#2754BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2754BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2754BE
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2754BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2754BE | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2754be; /* rgb */ color: rgb(39, 84, 190); /* oklch */ color: oklch(48.0% 0.174 263.7);
Tailwind
colors: {
custom: {
50: '#7983d2',
500: '#2754be',
950: '#000000',
},
}SCSS
$custom: #2754be; $custom-light: #7983d2; $custom-dark: #000000;
JSON
{
"hex": "#2754be",
"rgb": {
"r": 39,
"g": 84,
"b": 190
},
"hsl": {
"h": 222.119,
"s": 65.939,
"l": 44.902
},
"oklch": {
"l": 0.4801,
"c": 0.17426,
"h": 263.7
},
"luminance": 0.1049
}Semantic roles & 50–950 ramp
primary
#2754BE
secondary
#CCB275
accent
#B63FE9
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83