#2757AB#2757AB
#2757AB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.2% C 0.145 H 260.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2757AB |
|---|---|
| RGB | rgb(39, 87, 171) |
| HSL | hsl(218, 63%, 41%) |
| HSV | hsv(218, 77%, 67%) |
| CMYK | cmyk(77.2%, 49.1%, 0%, 32.9%) |
| CIE-LAB | lab(38.18, 14.45, -49.68) |
| CIE-LCH | lch(38.18, 51.74, 286.21°) |
| OKLab | oklab(47.18% -0.0234 -0.1428) |
| OKLCH | oklch(47.18% 0.145 260.7) |
| XYZ | xyz(11.5929, 10.1867, 39.8754) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.52
Denim Blue
#3B5B92
ΔE00 3.73
Denim
#1560BD
ΔE00 3.94
Dusk Blue
#26538D
ΔE00 3.96
Light Navy Blue
#2E5A88
ΔE00 4.59
Cobalt
#0047AB
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2757AB #AB7B27
analogous
#2799AB #2757AB #3927AB
triadic
#2757AB #AB2757 #57AB27
tetradic
#2757AB #AB2799 #AB7B27 #27AB39
square
#2757AB #AB2799 #AB7B27 #27AB39
split-complementary
#2757AB #AB3927 #99AB27
monochromatic
#102447 #1C3E79 #2757AB #3D73D3 #6E97DE
Accessibility & contrast
On white
6.91
#2757AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2757AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2757AB
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2757AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2757AB | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2757ab; /* rgb */ color: rgb(39, 87, 171); /* oklch */ color: oklch(47.2% 0.145 260.7);
Tailwind
colors: {
custom: {
50: '#7585c5',
500: '#2757ab',
950: '#000000',
},
}SCSS
$custom: #2757ab; $custom-light: #7585c5; $custom-dark: #000000;
JSON
{
"hex": "#2757ab",
"rgb": {
"r": 39,
"g": 87,
"b": 171
},
"hsl": {
"h": 218.182,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.47175,
"c": 0.14468,
"h": 260.7
},
"luminance": 0.10188
}Semantic roles & 50–950 ramp
primary
#2757AB
secondary
#C5A369
accent
#AA42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82