#2757BC#2757BC

#2757BC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.168 H 262.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2757BC
RGBrgb(39, 87, 188)
HSLhsl(221, 66%, 45%)
HSVhsv(221, 79%, 74%)
CMYKcmyk(79.3%, 53.7%, 0%, 26.3%)
CIE-LABlab(39.37, 21.03, -57.76)
CIE-LCHlch(39.37, 61.47, 290.01°)
OKLaboklab(48.47% -0.0213 -0.1665)
OKLCHoklch(48.47% 0.168 262.7)
XYZxyz(13.3187, 10.8770, 48.9647)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2757BC #BC8C27
analogous
#27A2BC #2757BC #4127BC
triadic
#2757BC #BC2757 #57BC27
tetradic
#2757BC #BC27A2 #BC8C27 #27BC41
square
#2757BC #BC27A2 #BC8C27 #27BC41
split-complementary
#2757BC #BC4127 #A2BC27
monochromatic
#122857 #1C4089 #2757BC #4776D9 #7A9CE3

Accessibility & contrast

On white

6.61
#2757BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2757BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2757BC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2757BC#FFFFFF#000000##FFFFFF
##2757BC1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0164C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2757bc;
/* rgb */ color: rgb(39, 87, 188);
/* oklch */ color: oklch(48.5% 0.168 262.7);
Tailwind
colors: {
  custom: {
    50: '#7985d1',
    500: '#2757bc',
    950: '#000000',
  },
}
SCSS
$custom: #2757bc;
$custom-light: #7985d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2757bc",
  "rgb": {
    "r": 39,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 220.671,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48468,
    "c": 0.16789,
    "h": 262.7
  },
  "luminance": 0.10879
}

Semantic roles & 50–950 ramp

primary
#2757BC
secondary
#CBAF73
accent
#B23FE9
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2757BC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2757BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva