#2E57BA#2E57BA

#2E57BA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.163 H 264.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2E57BA
RGBrgb(46, 87, 186)
HSLhsl(222, 60%, 45%)
HSVhsv(222, 75%, 73%)
CMYKcmyk(75.3%, 53.2%, 0%, 27.1%)
CIE-LABlab(39.48, 21.06, -56.40)
CIE-LCHlch(39.48, 60.20, 290.47°)
OKLaboklab(48.58% -0.0164 -0.1624)
OKLCHoklch(48.58% 0.163 264.2)
XYZxyz(13.3947, 10.9409, 47.8507)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57BA #BA912E
analogous
#2E9DBA #2E57BA #4B2EBA
triadic
#2E57BA #BA2E57 #57BA2E
tetradic
#2E57BA #BA2E9D #BA912E #2EBA4B
square
#2E57BA #BA2E9D #BA912E #2EBA4B
split-complementary
#2E57BA #BA4B2E #9DBA2E
monochromatic
#162958 #224089 #2E57BA #5177D4 #829EE0

Accessibility & contrast

On white

6.59
#2E57BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2E57BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57BA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57BA#FFFFFF#000000##FFFFFF
##2E57BA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D64BD
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e57ba;
/* rgb */ color: rgb(46, 87, 186);
/* oklch */ color: oklch(48.6% 0.163 264.2);
Tailwind
colors: {
  custom: {
    50: '#7b85cf',
    500: '#2e57ba',
    950: '#000000',
  },
}
SCSS
$custom: #2e57ba;
$custom-light: #7b85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57ba",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 222.429,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48575,
    "c": 0.16326,
    "h": 264.2
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#2E57BA
secondary
#C9B27B
accent
#B544E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E57BA

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

Preview Lab → · Contrast checker → · Palette generator →

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