#2757AA#2757AA

#2757AA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.143 H 260.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2757AA
RGBrgb(39, 87, 170)
HSLhsl(218, 63%, 41%)
HSVhsv(218, 77%, 67%)
CMYKcmyk(77.1%, 48.8%, 0%, 33.3%)
CIE-LABlab(38.11, 14.06, -49.20)
CIE-LCHlch(38.11, 51.17, 285.95°)
OKLaboklab(47.1% -0.0236 -0.1413)
OKLCHoklch(47.1% 0.143 260.5)
XYZxyz(11.4980, 10.1487, 39.3753)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2757AA #AA7A27
analogous
#2798AA #2757AA #3827AA
triadic
#2757AA #AA2757 #57AA27
tetradic
#2757AA #AA2798 #AA7A27 #27AA38
square
#2757AA #AA2798 #AA7A27 #27AA38
split-complementary
#2757AA #AA3827 #98AA27
monochromatic
#102446 #1C3E78 #2757AA #3C73D2 #6E97DE

Accessibility & contrast

On white

6.93
#2757AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2757AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2757AA#FFFFFF#000000##FFFFFF
##2757AA1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2757aa;
/* rgb */ color: rgb(39, 87, 170);
/* oklch */ color: oklch(47.1% 0.143 260.5);
Tailwind
colors: {
  custom: {
    50: '#7585c4',
    500: '#2757aa',
    950: '#000000',
  },
}
SCSS
$custom: #2757aa;
$custom-light: #7585c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2757aa",
  "rgb": {
    "r": 39,
    "g": 87,
    "b": 170
  },
  "hsl": {
    "h": 218.015,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47101,
    "c": 0.1433,
    "h": 260.5
  },
  "luminance": 0.1015
}

Semantic roles & 50–950 ramp

primary
#2757AA
secondary
#C4A369
accent
#AA42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2757AA

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

Preview Lab → · Contrast checker → · Palette generator →

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