#2754AE#2754AE
#2754AE is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.153 H 262.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2754AE |
|---|---|
| RGB | rgb(39, 84, 174) |
| HSL | hsl(220, 63%, 42%) |
| HSV | hsv(220, 78%, 68%) |
| CMYK | cmyk(77.6%, 51.7%, 0%, 31.8%) |
| CIE-LAB | lab(37.53, 17.60, -52.51) |
| CIE-LCH | lch(37.53, 55.38, 288.53°) |
| OKLab | oklab(46.75% -0.0206 -0.1511) |
| OKLCH | oklch(46.75% 0.153 262.2) |
| XYZ | xyz(11.6443, 9.8266, 41.3192) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.76
Cobalt
#0047AB
ΔE00 4.22
Denim Blue
#3B5B92
ΔE00 4.44
Dusk Blue
#26538D
ΔE00 4.44
Denim
#1560BD
ΔE00 4.87
Cobalt (survey)
#1E488F
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2754AE #AE8127
analogous
#2798AE #2754AE #3E27AE
triadic
#2754AE #AE2754 #54AE27
tetradic
#2754AE #AE2798 #AE8127 #27AE3E
square
#2754AE #AE2798 #AE8127 #27AE3E
split-complementary
#2754AE #AE3E27 #98AE27
monochromatic
#11244A #1C3C7C #2754AE #3E70D4 #7095DF
Accessibility & contrast
On white
7.08
#2754AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2754AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2754AE
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2754AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2754AE | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195FB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2754ae; /* rgb */ color: rgb(39, 84, 174); /* oklch */ color: oklch(46.7% 0.153 262.2);
Tailwind
colors: {
custom: {
50: '#7683c7',
500: '#2754ae',
950: '#000000',
},
}SCSS
$custom: #2754ae; $custom-light: #7683c7; $custom-dark: #000000;
JSON
{
"hex": "#2754ae",
"rgb": {
"r": 39,
"g": 84,
"b": 174
},
"hsl": {
"h": 220,
"s": 63.38,
"l": 41.765
},
"oklch": {
"l": 0.46747,
"c": 0.15253,
"h": 262.2
},
"luminance": 0.09828
}Semantic roles & 50–950 ramp
primary
#2754AE
secondary
#C6A86B
accent
#AF41E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82