#2E57AC#2E57AC

#2E57AC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.144 H 262.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2E57AC
RGBrgb(46, 87, 172)
HSLhsl(220, 58%, 43%)
HSVhsv(220, 73%, 67%)
CMYKcmyk(73.3%, 49.4%, 0%, 32.5%)
CIE-LABlab(38.51, 15.74, -49.73)
CIE-LCHlch(38.51, 52.16, 287.57°)
OKLaboklab(47.52% -0.018 -0.1428)
OKLCHoklch(47.52% 0.144 262.8)
XYZxyz(11.9787, 10.3745, 40.3929)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57AC #AC832E
analogous
#2E96AC #2E57AC #442EAC
triadic
#2E57AC #AC2E57 #57AC2E
tetradic
#2E57AC #AC2E96 #AC832E #2EAC44
square
#2E57AC #AC2E96 #AC832E #2EAC44
split-complementary
#2E57AC #AC442E #96AC2E
monochromatic
#14264B #213F7C #2E57AC #4974CE #7999DB

Accessibility & contrast

On white

6.83
#2E57AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2E57AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57AC
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57AC#FFFFFF#000000##FFFFFF
##2E57AC1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e57ac;
/* rgb */ color: rgb(46, 87, 172);
/* oklch */ color: oklch(47.5% 0.144 262.8);
Tailwind
colors: {
  custom: {
    50: '#7885c5',
    500: '#2e57ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e57ac;
$custom-light: #7885c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57ac",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 220.476,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47523,
    "c": 0.14394,
    "h": 262.8
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#2E57AC
secondary
#C3A972
accent
#AF47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E57AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2E57AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva