#2E57BF#2E57BF

#2E57BF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.170 H 264.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2E57BF
RGBrgb(46, 87, 191)
HSLhsl(223, 61%, 46%)
HSVhsv(223, 76%, 75%)
CMYKcmyk(75.9%, 54.5%, 0%, 25.1%)
CIE-LABlab(39.84, 22.94, -58.73)
CIE-LCHlch(39.84, 63.06, 291.34°)
OKLaboklab(48.97% -0.016 -0.1693)
OKLCHoklch(48.97% 0.17 264.6)
XYZxyz(13.9355, 11.1573, 50.6992)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57BF #BF962E
analogous
#2EA0BF #2E57BF #4D2EBF
triadic
#2E57BF #BF2E57 #57BF2E
tetradic
#2E57BF #BF2EA0 #BF962E #2EBF4D
square
#2E57BF #BF2EA0 #BF962E #2EBF4D
split-complementary
#2E57BF #BF4D2E #A0BF2E
monochromatic
#162A5C #22418E #2E57BF #5479D6 #86A0E2

Accessibility & contrast

On white

6.50
#2E57BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2E57BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57BF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57BF#FFFFFF#000000##FFFFFF
##2E57BF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e57bf;
/* rgb */ color: rgb(46, 87, 191);
/* oklch */ color: oklch(49.0% 0.170 264.6);
Tailwind
colors: {
  custom: {
    50: '#7c85d3',
    500: '#2e57bf',
    950: '#000000',
  },
}
SCSS
$custom: #2e57bf;
$custom-light: #7c85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57bf",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 223.034,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48965,
    "c": 0.17004,
    "h": 264.6
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#2E57BF
secondary
#CBB57E
accent
#B744E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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