#2E56C2#2E56C2

#2E56C2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.175 H 265.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2E56C2
RGBrgb(46, 86, 194)
HSLhsl(224, 62%, 47%)
HSVhsv(224, 76%, 76%)
CMYKcmyk(76.3%, 55.7%, 0%, 23.9%)
CIE-LABlab(39.80, 24.73, -60.56)
CIE-LCHlch(39.80, 65.41, 292.21°)
OKLaboklab(49% -0.015 -0.1747)
OKLCHoklch(49% 0.175 265.1)
XYZxyz(14.1887, 11.1299, 52.4290)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E56C2 #C29A2E
analogous
#2EA0C2 #2E56C2 #502EC2
triadic
#2E56C2 #C22E56 #56C22E
tetradic
#2E56C2 #C22EA0 #C29A2E #2EC250
square
#2E56C2 #C22EA0 #C29A2E #2EC250
split-complementary
#2E56C2 #C2502E #A0C22E
monochromatic
#172A5F #224091 #2E56C2 #5679D7 #88A0E3

Accessibility & contrast

On white

6.51
#2E56C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E56C2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E56C2#FFFFFF#000000##FFFFFF
##2E56C21.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e56c2;
/* rgb */ color: rgb(46, 86, 194);
/* oklch */ color: oklch(49.0% 0.175 265.1);
Tailwind
colors: {
  custom: {
    50: '#7d85d5',
    500: '#2e56c2',
    950: '#000000',
  },
}
SCSS
$custom: #2e56c2;
$custom-light: #7d85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e56c2",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 223.784,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49001,
    "c": 0.17531,
    "h": 265.1
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

primary
#2E56C2
secondary
#CCB87F
accent
#B943E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E56C2

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

Preview Lab → · Contrast checker → · Palette generator →

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