#2E57AB#2E57AB

#2E57AB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.143 H 262.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2E57AB
RGBrgb(46, 87, 171)
HSLhsl(220, 58%, 43%)
HSVhsv(220, 73%, 67%)
CMYKcmyk(73.1%, 49.1%, 0%, 32.9%)
CIE-LABlab(38.44, 15.36, -49.25)
CIE-LCHlch(38.44, 51.59, 287.33°)
OKLaboklab(47.45% -0.0182 -0.1414)
OKLCHoklch(47.45% 0.143 262.7)
XYZxyz(11.8830, 10.3362, 39.8890)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57AB #AB822E
analogous
#2E96AB #2E57AB #432EAB
triadic
#2E57AB #AB2E57 #57AB2E
tetradic
#2E57AB #AB2E96 #AB822E #2EAB43
square
#2E57AB #AB2E96 #AB822E #2EAB43
split-complementary
#2E57AB #AB432E #96AB2E
monochromatic
#14264B #213E7B #2E57AB #4874CE #7999DB

Accessibility & contrast

On white

6.85
#2E57AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2E57AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57AB
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57AB#FFFFFF#000000##FFFFFF
##2E57AB1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2861AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e57ab;
/* rgb */ color: rgb(46, 87, 171);
/* oklch */ color: oklch(47.4% 0.143 262.7);
Tailwind
colors: {
  custom: {
    50: '#7785c5',
    500: '#2e57ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e57ab;
$custom-light: #7785c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57ab",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 171
  },
  "hsl": {
    "h": 220.32,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4745,
    "c": 0.14254,
    "h": 262.7
  },
  "luminance": 0.10338
}

Semantic roles & 50–950 ramp

primary
#2E57AB
secondary
#C3A872
accent
#AE47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E57AB

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

Preview Lab → · Contrast checker → · Palette generator →

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