#2757AE#2757AE

#2757AE is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.149 H 261.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2757AE
RGBrgb(39, 87, 174)
HSLhsl(219, 63%, 42%)
HSVhsv(219, 78%, 68%)
CMYKcmyk(77.6%, 50%, 0%, 31.8%)
CIE-LABlab(38.38, 15.61, -51.13)
CIE-LCHlch(38.38, 53.46, 286.98°)
OKLaboklab(47.4% -0.023 -0.147)
OKLCHoklch(47.4% 0.149 261.1)
XYZxyz(11.8821, 10.3024, 41.3985)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2757AE #AE7E27
analogous
#279BAE #2757AE #3B27AE
triadic
#2757AE #AE2757 #57AE27
tetradic
#2757AE #AE279B #AE7E27 #27AE3B
square
#2757AE #AE279B #AE7E27 #27AE3B
split-complementary
#2757AE #AE3B27 #9BAE27
monochromatic
#11254A #1C3E7C #2757AE #3E74D4 #7098DF

Accessibility & contrast

On white

6.86
#2757AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2757AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2757AE
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2757AE#FFFFFF#000000##FFFFFF
##2757AE1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2757ae;
/* rgb */ color: rgb(39, 87, 174);
/* oklch */ color: oklch(47.4% 0.149 261.1);
Tailwind
colors: {
  custom: {
    50: '#7585c7',
    500: '#2757ae',
    950: '#000000',
  },
}
SCSS
$custom: #2757ae;
$custom-light: #7585c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2757ae",
  "rgb": {
    "r": 39,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 218.667,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47396,
    "c": 0.14882,
    "h": 261.1
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#2757AE
secondary
#C6A66B
accent
#AC41E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2757AE

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

Preview Lab → · Contrast checker → · Palette generator →

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