#1E3D8A#1E3D8A

#1E3D8A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.134 H 264.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#1E3D8A
RGBrgb(30, 61, 138)
HSLhsl(223, 64%, 33%)
HSVhsv(223, 78%, 54%)
CMYKcmyk(78.3%, 55.8%, 0%, 45.9%)
CIE-LABlab(27.97, 17.92, -46.21)
CIE-LCHlch(27.97, 49.57, 291.20°)
OKLaboklab(38.55% -0.0131 -0.1332)
OKLCHoklch(38.55% 0.134 264.4)
XYZxyz(6.7900, 5.4477, 24.7335)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3D8A #8A6B1E
analogous
#1E738A #1E3D8A #351E8A
triadic
#1E3D8A #8A1E3D #3D8A1E
tetradic
#1E3D8A #8A1E73 #8A6B1E #1E8A35
square
#1E3D8A #8A1E73 #8A6B1E #1E8A35
split-complementary
#1E3D8A #8A351E #738A1E
monochromatic
#081125 #132758 #1E3D8A #2953BC #4B73D8

Accessibility & contrast

On white

10.05
#1E3D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1E3D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3D8A
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3D8A#FFFFFF#000000##FFFFFF
##1E3D8A1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1e3d8a;
/* rgb */ color: rgb(30, 61, 138);
/* oklch */ color: oklch(38.6% 0.134 264.4);
Tailwind
colors: {
  custom: {
    50: '#6b72ad',
    500: '#1e3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e3d8a;
$custom-light: #6b72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3d8a",
  "rgb": {
    "r": 30,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 222.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3855,
    "c": 0.13385,
    "h": 264.4
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#1E3D8A
secondary
#BA9A4A
accent
#B741E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1E3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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