#2757B7#2757B7

#2757B7 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.161 H 262.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2757B7
RGBrgb(39, 87, 183)
HSLhsl(220, 65%, 44%)
HSVhsv(220, 79%, 72%)
CMYKcmyk(78.7%, 52.5%, 0%, 28.2%)
CIE-LABlab(39.01, 19.10, -55.41)
CIE-LCHlch(39.01, 58.61, 289.02°)
OKLaboklab(48.08% -0.0218 -0.1596)
OKLCHoklch(48.08% 0.161 262.2)
XYZxyz(12.7891, 10.6651, 46.1751)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2757B7 #B78727
analogous
#279FB7 #2757B7 #3F27B7
triadic
#2757B7 #B72757 #57B727
tetradic
#2757B7 #B7279F #B78727 #27B73F
square
#2757B7 #B7279F #B78727 #27B73F
split-complementary
#2757B7 #B73F27 #9FB727
monochromatic
#112752 #1C3F85 #2757B7 #4475D7 #769AE2

Accessibility & contrast

On white

6.70
#2757B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2757B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2757B7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2757B7#FFFFFF#000000##FFFFFF
##2757B71.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1363BA
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2757b7;
/* rgb */ color: rgb(39, 87, 183);
/* oklch */ color: oklch(48.1% 0.161 262.2);
Tailwind
colors: {
  custom: {
    50: '#7885cd',
    500: '#2757b7',
    950: '#000000',
  },
}
SCSS
$custom: #2757b7;
$custom-light: #7885cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2757b7",
  "rgb": {
    "r": 39,
    "g": 87,
    "b": 183
  },
  "hsl": {
    "h": 220,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48078,
    "c": 0.16113,
    "h": 262.2
  },
  "luminance": 0.10667
}

Semantic roles & 50–950 ramp

primary
#2757B7
secondary
#C9AC70
accent
#B040E8
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2757B7

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

Preview Lab → · Contrast checker → · Palette generator →

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