#2E57BB#2E57BB

#2E57BB is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.165 H 264.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2E57BB
RGBrgb(46, 87, 187)
HSLhsl(223, 61%, 46%)
HSVhsv(223, 75%, 73%)
CMYKcmyk(75.4%, 53.5%, 0%, 26.7%)
CIE-LABlab(39.55, 21.43, -56.87)
CIE-LCHlch(39.55, 60.77, 290.65°)
OKLaboklab(48.65% -0.0163 -0.1638)
OKLCHoklch(48.65% 0.165 264.3)
XYZxyz(13.5014, 10.9836, 48.4126)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57BB #BB922E
analogous
#2E9DBB #2E57BB #4B2EBB
triadic
#2E57BB #BB2E57 #57BB2E
tetradic
#2E57BB #BB2E9D #BB922E #2EBB4B
square
#2E57BB #BB2E9D #BB922E #2EBB4B
split-complementary
#2E57BB #BB4B2E #9DBB2E
monochromatic
#162959 #22408A #2E57BB #5278D4 #839EE0

Accessibility & contrast

On white

6.57
#2E57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2E57BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57BB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57BB#FFFFFF#000000##FFFFFF
##2E57BB1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e57bb;
/* rgb */ color: rgb(46, 87, 187);
/* oklch */ color: oklch(48.7% 0.165 264.3);
Tailwind
colors: {
  custom: {
    50: '#7b85d0',
    500: '#2e57bb',
    950: '#000000',
  },
}
SCSS
$custom: #2e57bb;
$custom-light: #7b85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57bb",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 222.553,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48653,
    "c": 0.16461,
    "h": 264.3
  },
  "luminance": 0.10985
}

Semantic roles & 50–950 ramp

primary
#2E57BB
secondary
#CAB37B
accent
#B544E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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