#1E57B3#1E57B3

#1E57B3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.158 H 259.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#1E57B3
RGBrgb(30, 87, 179)
HSLhsl(217, 71%, 41%)
HSVhsv(217, 83%, 70%)
CMYKcmyk(83.2%, 51.4%, 0%, 29.8%)
CIE-LABlab(38.46, 16.65, -53.97)
CIE-LCHlch(38.46, 56.48, 287.14°)
OKLaboklab(47.49% -0.0279 -0.1555)
OKLCHoklch(47.49% 0.158 259.8)
XYZxyz(12.0773, 10.3456, 43.9994)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E57B3 #B37A1E
analogous
#1EA1B3 #1E57B3 #2F1EB3
triadic
#1E57B3 #B31E57 #57B31E
tetradic
#1E57B3 #B31EA1 #B37A1E #1EB32F
square
#1E57B3 #B31EA1 #B37A1E #1EB32F
split-complementary
#1E57B3 #B32F1E #A1B31E
monochromatic
#0C244A #153E7F #1E57B3 #3273DD #6697E5

Accessibility & contrast

On white

6.84
#1E57B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#1E57B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E57B3
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E57B3#FFFFFF#000000##FFFFFF
##1E57B31.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1962B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1e57b3;
/* rgb */ color: rgb(30, 87, 179);
/* oklch */ color: oklch(47.5% 0.158 259.8);
Tailwind
colors: {
  custom: {
    50: '#7485ca',
    500: '#1e57b3',
    950: '#000000',
  },
}
SCSS
$custom: #1e57b3;
$custom-light: #7485ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1e57b3",
  "rgb": {
    "r": 30,
    "g": 87,
    "b": 179
  },
  "hsl": {
    "h": 217.047,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47488,
    "c": 0.158,
    "h": 259.8
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#1E57B3
secondary
#CBA362
accent
#A93AEE
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1E57B3

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

Preview Lab → · Contrast checker → · Palette generator →

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