#2E57A4#2E57A4

#2E57A4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.133 H 261.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2E57A4
RGBrgb(46, 87, 164)
HSLhsl(219, 56%, 41%)
HSVhsv(219, 72%, 64%)
CMYKcmyk(72%, 47%, 0%, 35.7%)
CIE-LABlab(37.98, 12.70, -45.83)
CIE-LCHlch(37.98, 47.55, 285.50°)
OKLaboklab(46.95% -0.0193 -0.1313)
OKLCHoklch(46.95% 0.133 261.7)
XYZxyz(11.2334, 10.0764, 36.4677)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57A4 #A47B2E
analogous
#2E92A4 #2E57A4 #402EA4
triadic
#2E57A4 #A42E57 #57A42E
tetradic
#2E57A4 #A42E92 #A47B2E #2EA440
square
#2E57A4 #A42E92 #A47B2E #2EA440
split-complementary
#2E57A4 #A4402E #92A42E
monochromatic
#132444 #213E74 #2E57A4 #4573CB #7497D8

Accessibility & contrast

On white

6.96
#2E57A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2E57A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57A4
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57A4#FFFFFF#000000##FFFFFF
##2E57A41.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA7
Deuteranopia (green-blind)
#1554A2
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e57a4;
/* rgb */ color: rgb(46, 87, 164);
/* oklch */ color: oklch(46.9% 0.133 261.7);
Tailwind
colors: {
  custom: {
    50: '#7685bf',
    500: '#2e57a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e57a4;
$custom-light: #7685bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57a4",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 164
  },
  "hsl": {
    "h": 219.153,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4695,
    "c": 0.13272,
    "h": 261.7
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#2E57A4
secondary
#C0A36E
accent
#AB48DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E57A4

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

Preview Lab → · Contrast checker → · Palette generator →

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