#1E3CA8#1E3CA8

#1E3CA8 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.176 H 266.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#1E3CA8
RGBrgb(30, 60, 168)
HSLhsl(227, 70%, 39%)
HSVhsv(227, 82%, 66%)
CMYKcmyk(82.1%, 64.3%, 0%, 34.1%)
CIE-LABlab(30.24, 30.40, -60.81)
CIE-LCHlch(30.24, 67.99, 296.56°)
OKLaboklab(41.03% -0.0115 -0.1761)
OKLCHoklch(41.03% 0.176 266.2)
XYZxyz(9.2167, 6.3338, 37.7750)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3CA8 #A88A1E
analogous
#1E81A8 #1E3CA8 #451EA8
triadic
#1E3CA8 #A81E3C #3CA81E
tetradic
#1E3CA8 #A81E81 #A88A1E #1EA845
square
#1E3CA8 #A81E81 #A88A1E #1EA845
split-complementary
#1E3CA8 #A8451E #81A81E
monochromatic
#0B1740 #152974 #1E3CA8 #2A50D9 #5E7BE2

Accessibility & contrast

On white

9.26
#1E3CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1E3CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3CA8
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3CA8#FFFFFF#000000##FFFFFF
##1E3CA81.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1e3ca8;
/* rgb */ color: rgb(30, 60, 168);
/* oklch */ color: oklch(41.0% 0.176 266.2);
Tailwind
colors: {
  custom: {
    50: '#7371c3',
    500: '#1e3ca8',
    950: '#000000',
  },
}
SCSS
$custom: #1e3ca8;
$custom-light: #7371c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3ca8",
  "rgb": {
    "r": 30,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 226.957,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41031,
    "c": 0.17643,
    "h": 266.2
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#1E3CA8
secondary
#C7AF5B
accent
#C63BED
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1E3CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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