#1E57A8#1E57A8

#1E57A8 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.143 H 258.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#1E57A8
RGBrgb(30, 87, 168)
HSLhsl(215, 70%, 39%)
HSVhsv(215, 82%, 66%)
CMYKcmyk(82.1%, 48.2%, 0%, 34.1%)
CIE-LABlab(37.70, 12.28, -48.69)
CIE-LCHlch(37.70, 50.22, 284.16°)
OKLaboklab(46.66% -0.0295 -0.14)
OKLCHoklch(46.66% 0.143 258.1)
XYZxyz(11.0089, 9.9182, 38.3724)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E57A8 #A86F1E
analogous
#1E9CA8 #1E57A8 #2A1EA8
triadic
#1E57A8 #A81E57 #57A81E
tetradic
#1E57A8 #A81E9C #A86F1E #1EA82A
square
#1E57A8 #A81E9C #A86F1E #1EA82A
split-complementary
#1E57A8 #A82A1E #9CA81E
monochromatic
#0B2140 #153C74 #1E57A8 #2A72D9 #5E95E2

Accessibility & contrast

On white

7.04
#1E57A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#1E57A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E57A8
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E57A8#FFFFFF#000000##FFFFFF
##1E57A81.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295FAB
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1e57a8;
/* rgb */ color: rgb(30, 87, 168);
/* oklch */ color: oklch(46.7% 0.143 258.1);
Tailwind
colors: {
  custom: {
    50: '#7185c2',
    500: '#1e57a8',
    950: '#000000',
  },
}
SCSS
$custom: #1e57a8;
$custom-light: #7185c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e57a8",
  "rgb": {
    "r": 30,
    "g": 87,
    "b": 168
  },
  "hsl": {
    "h": 215.217,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46662,
    "c": 0.14306,
    "h": 258.1
  },
  "luminance": 0.0992
}

Semantic roles & 50–950 ramp

primary
#1E57A8
secondary
#C79A5B
accent
#A33BED
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1E57A8

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

Preview Lab → · Contrast checker → · Palette generator →

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