#2E57A6#2E57A6

#2E57A6 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.136 H 262.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2E57A6
RGBrgb(46, 87, 166)
HSLhsl(220, 57%, 42%)
HSVhsv(220, 72%, 65%)
CMYKcmyk(72.3%, 47.6%, 0%, 34.9%)
CIE-LABlab(38.11, 13.46, -46.81)
CIE-LCHlch(38.11, 48.71, 286.05°)
OKLaboklab(47.09% -0.019 -0.1342)
OKLCHoklch(47.09% 0.136 262)
XYZxyz(11.4154, 10.1492, 37.4264)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57A6 #A67D2E
analogous
#2E93A6 #2E57A6 #412EA6
triadic
#2E57A6 #A62E57 #57A62E
tetradic
#2E57A6 #A62E93 #A67D2E #2EA641
square
#2E57A6 #A62E93 #A67D2E #2EA641
split-complementary
#2E57A6 #A6412E #93A62E
monochromatic
#132546 #213E76 #2E57A6 #4673CC #7697D9

Accessibility & contrast

On white

6.93
#2E57A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2E57A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57A6
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57A6#FFFFFF#000000##FFFFFF
##2E57A61.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60A9
Deuteranopia (green-blind)
#1055A4
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e57a6;
/* rgb */ color: rgb(46, 87, 166);
/* oklch */ color: oklch(47.1% 0.136 262.0);
Tailwind
colors: {
  custom: {
    50: '#7685c1',
    500: '#2e57a6',
    950: '#000000',
  },
}
SCSS
$custom: #2e57a6;
$custom-light: #7685c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57a6",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 166
  },
  "hsl": {
    "h": 219.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47091,
    "c": 0.13553,
    "h": 262
  },
  "luminance": 0.1015
}

Semantic roles & 50–950 ramp

primary
#2E57A6
secondary
#C1A56F
accent
#AC48E0
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E57A6

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

Preview Lab → · Contrast checker → · Palette generator →

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