#2E56B6#2E56B6

#2E56B6 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.159 H 264.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2E56B6
RGBrgb(46, 86, 182)
HSLhsl(222, 60%, 45%)
HSVhsv(222, 75%, 71%)
CMYKcmyk(74.7%, 52.7%, 0%, 28.6%)
CIE-LABlab(38.92, 20.20, -54.96)
CIE-LCHlch(38.92, 58.56, 290.18°)
OKLaboklab(48.06% -0.016 -0.1582)
OKLCHoklch(48.06% 0.159 264.2)
XYZxyz(12.8950, 10.6124, 45.6157)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E56B6 #B68E2E
analogous
#2E9AB6 #2E56B6 #4A2EB6
triadic
#2E56B6 #B62E56 #56B62E
tetradic
#2E56B6 #B62E9A #B68E2E #2EB64A
square
#2E56B6 #B62E9A #B68E2E #2EB64A
split-complementary
#2E56B6 #B64A2E #9AB62E
monochromatic
#152854 #223F85 #2E56B6 #4F75D2 #809CDF

Accessibility & contrast

On white

6.72
#2E56B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2E56B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E56B6
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E56B6#FFFFFF#000000##FFFFFF
##2E56B61.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1362B9
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e56b6;
/* rgb */ color: rgb(46, 86, 182);
/* oklch */ color: oklch(48.1% 0.159 264.2);
Tailwind
colors: {
  custom: {
    50: '#7a85cd',
    500: '#2e56b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e56b6;
$custom-light: #7a85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e56b6",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 182
  },
  "hsl": {
    "h": 222.353,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48059,
    "c": 0.15902,
    "h": 264.2
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E56B6

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

Preview Lab → · Contrast checker → · Palette generator →

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