#2E57A5#2E57A5

#2E57A5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.134 H 261.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2E57A5
RGBrgb(46, 87, 165)
HSLhsl(219, 56%, 41%)
HSVhsv(219, 72%, 65%)
CMYKcmyk(72.1%, 47.3%, 0%, 35.3%)
CIE-LABlab(38.04, 13.08, -46.32)
CIE-LCHlch(38.04, 48.13, 285.77°)
OKLaboklab(47.02% -0.0191 -0.1327)
OKLCHoklch(47.02% 0.134 261.8)
XYZxyz(11.3240, 10.1126, 36.9452)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57A5 #A57C2E
analogous
#2E93A5 #2E57A5 #412EA5
triadic
#2E57A5 #A52E57 #57A52E
tetradic
#2E57A5 #A52E93 #A57C2E #2EA541
square
#2E57A5 #A52E93 #A57C2E #2EA541
split-complementary
#2E57A5 #A5412E #93A52E
monochromatic
#132545 #213E75 #2E57A5 #4573CB #7597D8

Accessibility & contrast

On white

6.95
#2E57A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E57A5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57A5#FFFFFF#000000##FFFFFF
##2E57A51.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA8
Deuteranopia (green-blind)
#1354A3
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e57a5;
/* rgb */ color: rgb(46, 87, 165);
/* oklch */ color: oklch(47.0% 0.134 261.8);
Tailwind
colors: {
  custom: {
    50: '#7685c0',
    500: '#2e57a5',
    950: '#000000',
  },
}
SCSS
$custom: #2e57a5;
$custom-light: #7685c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57a5",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 165
  },
  "hsl": {
    "h": 219.328,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4702,
    "c": 0.13412,
    "h": 261.8
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

primary
#2E57A5
secondary
#C0A46F
accent
#AB48E0
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E57A5

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

Preview Lab → · Contrast checker → · Palette generator →

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