#2E57C2#2E57C2

#2E57C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.174 H 264.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2E57C2
RGBrgb(46, 87, 194)
HSLhsl(223, 62%, 47%)
HSVhsv(223, 76%, 76%)
CMYKcmyk(76.3%, 55.2%, 0%, 23.9%)
CIE-LABlab(40.07, 24.08, -60.12)
CIE-LCHlch(40.07, 64.76, 291.82°)
OKLaboklab(49.2% -0.0158 -0.1734)
OKLCHoklch(49.2% 0.174 264.8)
XYZxyz(14.2691, 11.2907, 52.4558)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57C2 #C2992E
analogous
#2EA1C2 #2E57C2 #4F2EC2
triadic
#2E57C2 #C22E57 #57C22E
tetradic
#2E57C2 #C22EA1 #C2992E #2EC24F
square
#2E57C2 #C22EA1 #C2992E #2EC24F
split-complementary
#2E57C2 #C24F2E #A1C22E
monochromatic
#172B5F #224191 #2E57C2 #567AD7 #88A1E3

Accessibility & contrast

On white

6.44
#2E57C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2E57C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57C2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57C2#FFFFFF#000000##FFFFFF
##2E57C21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e57c2;
/* rgb */ color: rgb(46, 87, 194);
/* oklch */ color: oklch(49.2% 0.174 264.8);
Tailwind
colors: {
  custom: {
    50: '#7c85d5',
    500: '#2e57c2',
    950: '#000000',
  },
}
SCSS
$custom: #2e57c2;
$custom-light: #7c85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57c2",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 223.378,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49202,
    "c": 0.17409,
    "h": 264.8
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#2E57C2
secondary
#CCB77F
accent
#B843E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E57C2

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

Preview Lab → · Contrast checker → · Palette generator →

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