#1E56A5#1E56A5

#1E56A5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.140 H 258.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#1E56A5
RGBrgb(30, 86, 165)
HSLhsl(215, 69%, 38%)
HSVhsv(215, 82%, 65%)
CMYKcmyk(81.8%, 47.9%, 0%, 35.3%)
CIE-LABlab(37.20, 11.75, -47.70)
CIE-LCHlch(37.20, 49.13, 283.84°)
OKLaboklab(46.22% -0.0292 -0.1371)
OKLCHoklch(46.22% 0.14 258)
XYZxyz(10.6522, 9.6469, 36.8906)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E56A5 #A56D1E
analogous
#1E99A5 #1E56A5 #291EA5
triadic
#1E56A5 #A51E56 #56A51E
tetradic
#1E56A5 #A51E99 #A56D1E #1EA529
square
#1E56A5 #A51E99 #A56D1E #1EA529
split-complementary
#1E56A5 #A5291E #99A51E
monochromatic
#0B203D #153B71 #1E56A5 #2871D8 #5C93E1

Accessibility & contrast

On white

7.17
#1E56A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#1E56A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E56A5
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E56A5#FFFFFF#000000##FFFFFF
##1E56A51.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1e56a5;
/* rgb */ color: rgb(30, 86, 165);
/* oklch */ color: oklch(46.2% 0.140 258.0);
Tailwind
colors: {
  custom: {
    50: '#7185c0',
    500: '#1e56a5',
    950: '#000000',
  },
}
SCSS
$custom: #1e56a5;
$custom-light: #7185c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e56a5",
  "rgb": {
    "r": 30,
    "g": 86,
    "b": 165
  },
  "hsl": {
    "h": 215.111,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46217,
    "c": 0.14016,
    "h": 258
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#1E56A5
secondary
#C59959
accent
#A33CEC
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E56A5

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

Preview Lab → · Contrast checker → · Palette generator →

#1E56A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva