#2E57A9#2E57A9

#2E57A9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.140 H 262.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2E57A9
RGBrgb(46, 87, 169)
HSLhsl(220, 57%, 42%)
HSVhsv(220, 73%, 66%)
CMYKcmyk(72.8%, 48.5%, 0%, 33.7%)
CIE-LABlab(38.31, 14.60, -48.27)
CIE-LCHlch(38.31, 50.43, 286.83°)
OKLaboklab(47.31% -0.0185 -0.1385)
OKLCHoklch(47.31% 0.14 262.4)
XYZxyz(11.6938, 10.2606, 38.8926)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57A9 #A9802E
analogous
#2E95A9 #2E57A9 #432EA9
triadic
#2E57A9 #A92E57 #57A92E
tetradic
#2E57A9 #A92E95 #A9802E #2EA943
square
#2E57A9 #A92E95 #A9802E #2EA943
split-complementary
#2E57A9 #A9432E #95A92E
monochromatic
#142549 #213E79 #2E57A9 #4774CD #7798DA

Accessibility & contrast

On white

6.88
#2E57A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2E57A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57A9
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57A9#FFFFFF#000000##FFFFFF
##2E57A91.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AC
Deuteranopia (green-blind)
#0555A7
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e57a9;
/* rgb */ color: rgb(46, 87, 169);
/* oklch */ color: oklch(47.3% 0.140 262.4);
Tailwind
colors: {
  custom: {
    50: '#7785c3',
    500: '#2e57a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e57a9;
$custom-light: #7785c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57a9",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 169
  },
  "hsl": {
    "h": 220,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47306,
    "c": 0.13974,
    "h": 262.4
  },
  "luminance": 0.10262
}

Semantic roles & 50–950 ramp

primary
#2E57A9
secondary
#C2A771
accent
#AD47E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E57A9

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

Preview Lab → · Contrast checker → · Palette generator →

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