#2757AF#2757AF
#2757AF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.150 H 261.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2757AF |
|---|---|
| RGB | rgb(39, 87, 175) |
| HSL | hsl(219, 64%, 42%) |
| HSV | hsv(219, 78%, 69%) |
| CMYK | cmyk(77.7%, 50.3%, 0%, 31.4%) |
| CIE-LAB | lab(38.45, 16.00, -51.61) |
| CIE-LCH | lch(38.45, 54.04, 287.23°) |
| OKLab | oklab(47.47% -0.0228 -0.1484) |
| OKLCH | oklch(47.47% 0.15 261.3) |
| XYZ | xyz(11.9800, 10.3415, 41.9138) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.18
Denim
#1560BD
ΔE00 3.85
Denim Blue
#3B5B92
ΔE00 4.10
Dusk Blue
#26538D
ΔE00 4.47
Light Navy Blue
#2E5A88
ΔE00 5.02
Cobalt
#0047AB
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2757AF #AF7F27
analogous
#279BAF #2757AF #3B27AF
triadic
#2757AF #AF2757 #57AF27
tetradic
#2757AF #AF279B #AF7F27 #27AF3B
square
#2757AF #AF279B #AF7F27 #27AF3B
split-complementary
#2757AF #AF3B27 #9BAF27
monochromatic
#11254B #1C3E7D #2757AF #3F74D4 #7198DF
Accessibility & contrast
On white
6.84
#2757AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2757AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2757AF
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2757AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2757AF | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2757af; /* rgb */ color: rgb(39, 87, 175); /* oklch */ color: oklch(47.5% 0.150 261.3);
Tailwind
colors: {
custom: {
50: '#7685c7',
500: '#2757af',
950: '#000000',
},
}SCSS
$custom: #2757af; $custom-light: #7685c7; $custom-dark: #000000;
JSON
{
"hex": "#2757af",
"rgb": {
"r": 39,
"g": 87,
"b": 175
},
"hsl": {
"h": 218.824,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.47471,
"c": 0.1502,
"h": 261.3
},
"luminance": 0.10343
}Semantic roles & 50–950 ramp
primary
#2757AF
secondary
#C6A66B
accent
#AC41E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82