#2754B9#2754B9
#2754B9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.168 H 263.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2754B9 |
|---|---|
| RGB | rgb(39, 84, 185) |
| HSL | hsl(222, 65%, 44%) |
| HSV | hsv(222, 79%, 73%) |
| CMYK | cmyk(78.9%, 54.6%, 0%, 27.5%) |
| CIE-LAB | lab(38.33, 21.85, -57.69) |
| CIE-LCH | lch(38.33, 61.69, 290.74°) |
| OKLab | oklab(47.61% -0.0195 -0.1664) |
| OKLCH | oklch(47.61% 0.168 263.3) |
| XYZ | xyz(12.7609, 10.2733, 47.1999) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.45
Cobalt
#0047AB
ΔE00 4.59
Denim
#1560BD
ΔE00 4.96
Denim Blue
#3B5B92
ΔE00 5.55
Dusk Blue
#26538D
ΔE00 5.88
Blue Blue
#2242C7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2754B9 #B98C27
analogous
#279DB9 #2754B9 #4327B9
triadic
#2754B9 #B92754 #54B927
tetradic
#2754B9 #B9279D #B98C27 #27B943
square
#2754B9 #B9279D #B98C27 #27B943
split-complementary
#2754B9 #B94327 #9DB927
monochromatic
#122654 #1C3D86 #2754B9 #4573D8 #7899E3
Accessibility & contrast
On white
6.87
#2754B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2754B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2754B9
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2754B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2754B9 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2754b9; /* rgb */ color: rgb(39, 84, 185); /* oklch */ color: oklch(47.6% 0.168 263.3);
Tailwind
colors: {
custom: {
50: '#7883cf',
500: '#2754b9',
950: '#000000',
},
}SCSS
$custom: #2754b9; $custom-light: #7883cf; $custom-dark: #000000;
JSON
{
"hex": "#2754b9",
"rgb": {
"r": 39,
"g": 84,
"b": 185
},
"hsl": {
"h": 221.507,
"s": 65.179,
"l": 43.922
},
"oklch": {
"l": 0.47607,
"c": 0.16753,
"h": 263.3
},
"luminance": 0.10275
}Semantic roles & 50–950 ramp
primary
#2754B9
secondary
#CAAF72
accent
#B440E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82