#2E56AC#2E56AC

#2E56AC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.145 H 263.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2E56AC
RGBrgb(46, 86, 172)
HSLhsl(221, 58%, 43%)
HSVhsv(221, 73%, 67%)
CMYKcmyk(73.3%, 50%, 0%, 32.5%)
CIE-LABlab(38.22, 16.40, -50.19)
CIE-LCHlch(38.22, 52.80, 288.10°)
OKLaboklab(47.31% -0.0172 -0.1442)
OKLCHoklch(47.31% 0.145 263.2)
XYZxyz(11.8982, 10.2137, 40.3661)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E56AC #AC842E
analogous
#2E95AC #2E56AC #452EAC
triadic
#2E56AC #AC2E56 #56AC2E
tetradic
#2E56AC #AC2E95 #AC842E #2EAC45
square
#2E56AC #AC2E95 #AC842E #2EAC45
split-complementary
#2E56AC #AC452E #95AC2E
monochromatic
#14264B #213E7C #2E56AC #4973CE #7998DB

Accessibility & contrast

On white

6.90
#2E56AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2E56AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E56AC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E56AC#FFFFFF#000000##FFFFFF
##2E56AC1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e56ac;
/* rgb */ color: rgb(46, 86, 172);
/* oklch */ color: oklch(47.3% 0.145 263.2);
Tailwind
colors: {
  custom: {
    50: '#7885c5',
    500: '#2e56ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e56ac;
$custom-light: #7885c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e56ac",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 220.952,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47307,
    "c": 0.14518,
    "h": 263.2
  },
  "luminance": 0.10215
}

Semantic roles & 50–950 ramp

primary
#2E56AC
secondary
#C3AA72
accent
#B047E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E56AC

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

Preview Lab → · Contrast checker → · Palette generator →

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