#2E57BD#2E57BD

#2E57BD is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.167 H 264.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2E57BD
RGBrgb(46, 87, 189)
HSLhsl(223, 61%, 46%)
HSVhsv(223, 76%, 74%)
CMYKcmyk(75.7%, 54%, 0%, 25.9%)
CIE-LABlab(39.70, 22.19, -57.80)
CIE-LCHlch(39.70, 61.92, 291.00°)
OKLaboklab(48.81% -0.0162 -0.1665)
OKLCHoklch(48.81% 0.167 264.5)
XYZxyz(13.7170, 11.0698, 49.5480)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57BD #BD942E
analogous
#2E9EBD #2E57BD #4C2EBD
triadic
#2E57BD #BD2E57 #57BD2E
tetradic
#2E57BD #BD2E9E #BD942E #2EBD4C
square
#2E57BD #BD2E9E #BD942E #2EBD4C
split-complementary
#2E57BD #BD4C2E #9EBD2E
monochromatic
#162A5B #22408C #2E57BD #5378D5 #849FE1

Accessibility & contrast

On white

6.53
#2E57BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2E57BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57BD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57BD#FFFFFF#000000##FFFFFF
##2E57BD1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0164C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e57bd;
/* rgb */ color: rgb(46, 87, 189);
/* oklch */ color: oklch(48.8% 0.167 264.5);
Tailwind
colors: {
  custom: {
    50: '#7b85d2',
    500: '#2e57bd',
    950: '#000000',
  },
}
SCSS
$custom: #2e57bd;
$custom-light: #7b85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57bd",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 222.797,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48808,
    "c": 0.16733,
    "h": 264.5
  },
  "luminance": 0.11071
}

Semantic roles & 50–950 ramp

primary
#2E57BD
secondary
#CAB47C
accent
#B644E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E57BD

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

Preview Lab → · Contrast checker → · Palette generator →

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