#2757AD#2757AD

#2757AD is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.147 H 261.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2757AD
RGBrgb(39, 87, 173)
HSLhsl(219, 63%, 42%)
HSVhsv(219, 77%, 68%)
CMYKcmyk(77.5%, 49.7%, 0%, 32.2%)
CIE-LABlab(38.31, 15.23, -50.65)
CIE-LCHlch(38.31, 52.89, 286.73°)
OKLaboklab(47.32% -0.0231 -0.1456)
OKLCHoklch(47.32% 0.147 261)
XYZxyz(11.7850, 10.2635, 40.8870)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2757AD #AD7D27
analogous
#279AAD #2757AD #3A27AD
triadic
#2757AD #AD2757 #57AD27
tetradic
#2757AD #AD279A #AD7D27 #27AD3A
square
#2757AD #AD279A #AD7D27 #27AD3A
split-complementary
#2757AD #AD3A27 #9AAD27
monochromatic
#102549 #1C3E7B #2757AD #3E73D3 #7097DF

Accessibility & contrast

On white

6.88
#2757AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2757AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2757AD
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2757AD#FFFFFF#000000##FFFFFF
##2757AD1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B0
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2757ad;
/* rgb */ color: rgb(39, 87, 173);
/* oklch */ color: oklch(47.3% 0.147 261.0);
Tailwind
colors: {
  custom: {
    50: '#7585c6',
    500: '#2757ad',
    950: '#000000',
  },
}
SCSS
$custom: #2757ad;
$custom-light: #7585c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2757ad",
  "rgb": {
    "r": 39,
    "g": 87,
    "b": 173
  },
  "hsl": {
    "h": 218.507,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47322,
    "c": 0.14744,
    "h": 261
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#2757AD
secondary
#C6A56A
accent
#AB42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2757AD

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

Preview Lab → · Contrast checker → · Palette generator →

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