#2E57B7#2E57B7

#2E57B7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.159 H 264.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2E57B7
RGBrgb(46, 87, 183)
HSLhsl(222, 60%, 45%)
HSVhsv(222, 75%, 72%)
CMYKcmyk(74.9%, 52.5%, 0%, 28.2%)
CIE-LABlab(39.27, 19.92, -54.99)
CIE-LCHlch(39.27, 58.48, 289.91°)
OKLaboklab(48.35% -0.0167 -0.1583)
OKLCHoklch(48.35% 0.159 264)
XYZxyz(13.0791, 10.8147, 46.1887)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57B7 #B78E2E
analogous
#2E9BB7 #2E57B7 #4A2EB7
triadic
#2E57B7 #B72E57 #57B72E
tetradic
#2E57B7 #B72E9B #B78E2E #2EB74A
square
#2E57B7 #B72E9B #B78E2E #2EB74A
split-complementary
#2E57B7 #B74A2E #9BB72E
monochromatic
#152855 #224086 #2E57B7 #4F77D3 #809DDF

Accessibility & contrast

On white

6.64
#2E57B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2E57B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57B7
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57B7#FFFFFF#000000##FFFFFF
##2E57B71.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1563BA
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e57b7;
/* rgb */ color: rgb(46, 87, 183);
/* oklch */ color: oklch(48.3% 0.159 264.0);
Tailwind
colors: {
  custom: {
    50: '#7a85cd',
    500: '#2e57b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e57b7;
$custom-light: #7a85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57b7",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 183
  },
  "hsl": {
    "h": 222.044,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48345,
    "c": 0.15915,
    "h": 264
  },
  "luminance": 0.10816
}

Semantic roles & 50–950 ramp

primary
#2E57B7
secondary
#C8B079
accent
#B445E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #2E57B7

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

Preview Lab → · Contrast checker → · Palette generator →

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