#2E57A8#2E57A8

#2E57A8 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.2% C 0.138 H 262.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2E57A8
RGBrgb(46, 87, 168)
HSLhsl(220, 57%, 42%)
HSVhsv(220, 73%, 66%)
CMYKcmyk(72.6%, 48.2%, 0%, 34.1%)
CIE-LABlab(38.24, 14.22, -47.79)
CIE-LCHlch(38.24, 49.86, 286.57°)
OKLaboklab(47.23% -0.0186 -0.1371)
OKLCHoklch(47.23% 0.138 262.3)
XYZxyz(11.6003, 10.2232, 38.4001)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57A8 #A87F2E
analogous
#2E94A8 #2E57A8 #422EA8
triadic
#2E57A8 #A82E57 #57A82E
tetradic
#2E57A8 #A82E94 #A87F2E #2EA842
square
#2E57A8 #A82E94 #A87F2E #2EA842
split-complementary
#2E57A8 #A8422E #94A82E
monochromatic
#142548 #213E78 #2E57A8 #4774CD #7798DA

Accessibility & contrast

On white

6.90
#2E57A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2E57A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57A8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57A8#FFFFFF#000000##FFFFFF
##2E57A81.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B60AB
Deuteranopia (green-blind)
#0955A6
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e57a8;
/* rgb */ color: rgb(46, 87, 168);
/* oklch */ color: oklch(47.2% 0.138 262.3);
Tailwind
colors: {
  custom: {
    50: '#7785c2',
    500: '#2e57a8',
    950: '#000000',
  },
}
SCSS
$custom: #2e57a8;
$custom-light: #7785c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57a8",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 168
  },
  "hsl": {
    "h": 219.836,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47234,
    "c": 0.13834,
    "h": 262.3
  },
  "luminance": 0.10224
}

Semantic roles & 50–950 ramp

primary
#2E57A8
secondary
#C2A670
accent
#AD48E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E57A8

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

Preview Lab → · Contrast checker → · Palette generator →

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