#2E57B8#2E57B8

#2E57B8 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.161 H 264.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2E57B8
RGBrgb(46, 87, 184)
HSLhsl(222, 60%, 45%)
HSVhsv(222, 75%, 72%)
CMYKcmyk(75%, 52.7%, 0%, 27.8%)
CIE-LABlab(39.34, 20.30, -55.46)
CIE-LCHlch(39.34, 59.06, 290.10°)
OKLaboklab(48.42% -0.0166 -0.1597)
OKLCHoklch(48.42% 0.161 264.1)
XYZxyz(13.1836, 10.8565, 46.7388)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57B8 #B88F2E
analogous
#2E9CB8 #2E57B8 #4A2EB8
triadic
#2E57B8 #B82E57 #57B82E
tetradic
#2E57B8 #B82E9C #B88F2E #2EB84A
square
#2E57B8 #B82E9C #B88F2E #2EB84A
split-complementary
#2E57B8 #B84A2E #9CB82E
monochromatic
#162956 #224087 #2E57B8 #5077D3 #819DDF

Accessibility & contrast

On white

6.62
#2E57B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2E57B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57B8
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57B8#FFFFFF#000000##FFFFFF
##2E57B81.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1363BB
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e57b8;
/* rgb */ color: rgb(46, 87, 184);
/* oklch */ color: oklch(48.4% 0.161 264.1);
Tailwind
colors: {
  custom: {
    50: '#7a85ce',
    500: '#2e57b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e57b8;
$custom-light: #7a85ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57b8",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 184
  },
  "hsl": {
    "h": 222.174,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.16052,
    "h": 264.1
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#2E57B8
secondary
#C8B179
accent
#B445E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E57B8

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

Preview Lab → · Contrast checker → · Palette generator →

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