#1E3C8A#1E3C8A

#1E3C8A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.135 H 264.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#1E3C8A
RGBrgb(30, 60, 138)
HSLhsl(223, 64%, 33%)
HSVhsv(223, 78%, 54%)
CMYKcmyk(78.3%, 56.5%, 0%, 45.9%)
CIE-LABlab(27.69, 18.62, -46.68)
CIE-LCHlch(27.69, 50.25, 291.74°)
OKLaboklab(38.33% -0.0123 -0.1346)
OKLCHoklch(38.33% 0.135 264.8)
XYZxyz(6.7371, 5.3420, 24.7159)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3C8A #8A6C1E
analogous
#1E728A #1E3C8A #361E8A
triadic
#1E3C8A #8A1E3C #3C8A1E
tetradic
#1E3C8A #8A1E72 #8A6C1E #1E8A36
square
#1E3C8A #8A1E72 #8A6C1E #1E8A36
split-complementary
#1E3C8A #8A361E #728A1E
monochromatic
#081025 #132658 #1E3C8A #2952BC #4B72D8

Accessibility & contrast

On white

10.15
#1E3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1E3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3C8A
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3C8A#FFFFFF#000000##FFFFFF
##1E3C8A1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1e3c8a;
/* rgb */ color: rgb(30, 60, 138);
/* oklch */ color: oklch(38.3% 0.135 264.8);
Tailwind
colors: {
  custom: {
    50: '#6b71ad',
    500: '#1e3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e3c8a;
$custom-light: #6b71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3c8a",
  "rgb": {
    "r": 30,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 223.333,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38334,
    "c": 0.13515,
    "h": 264.8
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#1E3C8A
secondary
#BA9B4A
accent
#B941E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1E3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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