#2E57A2#2E57A2

#2E57A2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.130 H 261.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2E57A2
RGBrgb(46, 87, 162)
HSLhsl(219, 56%, 41%)
HSVhsv(219, 72%, 64%)
CMYKcmyk(71.6%, 46.3%, 0%, 36.5%)
CIE-LABlab(37.85, 11.95, -44.84)
CIE-LCHlch(37.85, 46.40, 284.92°)
OKLaboklab(46.81% -0.0196 -0.1284)
OKLCHoklch(46.81% 0.13 261.3)
XYZxyz(11.0542, 10.0047, 35.5239)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57A2 #A2792E
analogous
#2E91A2 #2E57A2 #3F2EA2
triadic
#2E57A2 #A22E57 #57A22E
tetradic
#2E57A2 #A22E91 #A2792E #2EA23F
square
#2E57A2 #A22E91 #A2792E #2EA23F
split-complementary
#2E57A2 #A23F2E #91A22E
monochromatic
#132443 #203D72 #2E57A2 #4373CA #7397D7

Accessibility & contrast

On white

7.00
#2E57A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2E57A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57A2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57A2#FFFFFF#000000##FFFFFF
##2E57A21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#1954A0
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e57a2;
/* rgb */ color: rgb(46, 87, 162);
/* oklch */ color: oklch(46.8% 0.130 261.3);
Tailwind
colors: {
  custom: {
    50: '#7585be',
    500: '#2e57a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e57a2;
$custom-light: #7585be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57a2",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 218.793,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4681,
    "c": 0.12989,
    "h": 261.3
  },
  "luminance": 0.10006
}

Semantic roles & 50–950 ramp

primary
#2E57A2
secondary
#BFA26D
accent
#AA49DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E57A2

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

Preview Lab → · Contrast checker → · Palette generator →

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