#2754AF#2754AF
#2754AF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.154 H 262.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2754AF |
|---|---|
| RGB | rgb(39, 84, 175) |
| HSL | hsl(220, 64%, 42%) |
| HSV | hsv(220, 78%, 69%) |
| CMYK | cmyk(77.7%, 52%, 0%, 31.4%) |
| CIE-LAB | lab(37.60, 17.99, -52.98) |
| CIE-LCH | lch(37.60, 55.95, 288.75°) |
| OKLab | oklab(46.82% -0.0205 -0.1525) |
| OKLCH | oklch(46.82% 0.154 262.4) |
| XYZ | xyz(11.7421, 9.8658, 41.8346) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.68
Cobalt
#0047AB
ΔE00 4.23
Denim Blue
#3B5B92
ΔE00 4.53
Dusk Blue
#26538D
ΔE00 4.57
Denim
#1560BD
ΔE00 4.86
Cobalt (survey)
#1E488F
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2754AF #AF8227
analogous
#2798AF #2754AF #3E27AF
triadic
#2754AF #AF2754 #54AF27
tetradic
#2754AF #AF2798 #AF8227 #27AF3E
square
#2754AF #AF2798 #AF8227 #27AF3E
split-complementary
#2754AF #AF3E27 #98AF27
monochromatic
#11244B #1C3C7D #2754AF #3F70D4 #7196DF
Accessibility & contrast
On white
7.06
#2754AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2754AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2754AF
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2754AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2754AF | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2754af; /* rgb */ color: rgb(39, 84, 175); /* oklch */ color: oklch(46.8% 0.154 262.4);
Tailwind
colors: {
custom: {
50: '#7683c7',
500: '#2754af',
950: '#000000',
},
}SCSS
$custom: #2754af; $custom-light: #7683c7; $custom-dark: #000000;
JSON
{
"hex": "#2754af",
"rgb": {
"r": 39,
"g": 84,
"b": 175
},
"hsl": {
"h": 220.147,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.46824,
"c": 0.15391,
"h": 262.4
},
"luminance": 0.09867
}Semantic roles & 50–950 ramp
primary
#2754AF
secondary
#C6A86B
accent
#B041E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82