#2E56B4#2E56B4

#2E56B4 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.156 H 264.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2E56B4
RGBrgb(46, 86, 180)
HSLhsl(222, 59%, 44%)
HSVhsv(222, 74%, 71%)
CMYKcmyk(74.4%, 52.2%, 0%, 29.4%)
CIE-LABlab(38.78, 19.44, -54.02)
CIE-LCHlch(38.78, 57.41, 289.79°)
OKLaboklab(47.91% -0.0162 -0.1554)
OKLCHoklch(47.91% 0.156 264)
XYZxyz(12.6898, 10.5303, 44.5349)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E56B4 #B48C2E
analogous
#2E99B4 #2E56B4 #492EB4
triadic
#2E56B4 #B42E56 #56B42E
tetradic
#2E56B4 #B42E99 #B48C2E #2EB449
square
#2E56B4 #B42E99 #B48C2E #2EB449
split-complementary
#2E56B4 #B4492E #99B42E
monochromatic
#152753 #223F83 #2E56B4 #4E75D2 #7E9BDE

Accessibility & contrast

On white

6.76
#2E56B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2E56B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E56B4
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E56B4#FFFFFF#000000##FFFFFF
##2E56B41.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1762B7
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e56b4;
/* rgb */ color: rgb(46, 86, 180);
/* oklch */ color: oklch(47.9% 0.156 264.0);
Tailwind
colors: {
  custom: {
    50: '#7985cb',
    500: '#2e56b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e56b4;
$custom-light: #7985cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e56b4",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 180
  },
  "hsl": {
    "h": 222.09,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47906,
    "c": 0.15628,
    "h": 264
  },
  "luminance": 0.10532
}

Semantic roles & 50–950 ramp

primary
#2E56B4
secondary
#C7AF77
accent
#B445E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E56B4

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

Preview Lab → · Contrast checker → · Palette generator →

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