#2757BA#2757BA
#2757BA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.165 H 262.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2757BA |
|---|---|
| RGB | rgb(39, 87, 186) |
| HSL | hsl(220, 65%, 44%) |
| HSV | hsv(220, 79%, 73%) |
| CMYK | cmyk(79%, 53.2%, 0%, 27.1%) |
| CIE-LAB | lab(39.23, 20.26, -56.82) |
| CIE-LCH | lch(39.23, 60.33, 289.62°) |
| OKLab | oklab(48.31% -0.0215 -0.1638) |
| OKLCH | oklch(48.31% 0.165 262.5) |
| XYZ | xyz(13.1046, 10.7914, 47.8371) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.86
Denim
#1560BD
ΔE00 3.95
Denim Blue
#3B5B92
ΔE00 5.25
Cobalt
#0047AB
ΔE00 5.43
Dusk Blue
#26538D
ΔE00 5.88
Light Navy Blue
#2E5A88
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2757BA #BA8A27
analogous
#27A1BA #2757BA #4127BA
triadic
#2757BA #BA2757 #57BA27
tetradic
#2757BA #BA27A1 #BA8A27 #27BA41
square
#2757BA #BA27A1 #BA8A27 #27BA41
split-complementary
#2757BA #BA4127 #A1BA27
monochromatic
#122855 #1C3F87 #2757BA #4676D8 #799BE3
Accessibility & contrast
On white
6.65
#2757BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#2757BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2757BA
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2757BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2757BA | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0963BD
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2757ba; /* rgb */ color: rgb(39, 87, 186); /* oklch */ color: oklch(48.3% 0.165 262.5);
Tailwind
colors: {
custom: {
50: '#7885cf',
500: '#2757ba',
950: '#000000',
},
}SCSS
$custom: #2757ba; $custom-light: #7885cf; $custom-dark: #000000;
JSON
{
"hex": "#2757ba",
"rgb": {
"r": 39,
"g": 87,
"b": 186
},
"hsl": {
"h": 220.408,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.48311,
"c": 0.16519,
"h": 262.5
},
"luminance": 0.10793
}Semantic roles & 50–950 ramp
primary
#2757BA
secondary
#CBAE72
accent
#B140E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82