#1E3D9C#1E3D9C

#1E3D9C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.159 H 265.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#1E3D9C
RGBrgb(30, 61, 156)
HSLhsl(225, 68%, 36%)
HSVhsv(225, 81%, 61%)
CMYKcmyk(80.8%, 60.9%, 0%, 38.8%)
CIE-LABlab(29.44, 25.08, -54.86)
CIE-LCHlch(29.44, 60.32, 294.56°)
OKLaboklab(40.12% -0.0121 -0.1586)
OKLCHoklch(40.12% 0.159 265.6)
XYZxyz(8.2028, 6.0128, 32.1743)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3D9C #9C7D1E
analogous
#1E7C9C #1E3D9C #3E1E9C
triadic
#1E3D9C #9C1E3D #3D9C1E
tetradic
#1E3D9C #9C1E7C #9C7D1E #1E9C3E
square
#1E3D9C #9C1E7C #9C7D1E #1E9C3E
split-complementary
#1E3D9C #9C3E1E #7C9C1E
monochromatic
#0A1535 #142969 #1E3D9C #2851CF #5678DE

Accessibility & contrast

On white

9.53
#1E3D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1E3D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3D9C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3D9C#FFFFFF#000000##FFFFFF
##1E3D9C1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e3d9c;
/* rgb */ color: rgb(30, 61, 156);
/* oklch */ color: oklch(40.1% 0.159 265.6);
Tailwind
colors: {
  custom: {
    50: '#7072ba',
    500: '#1e3d9c',
    950: '#000000',
  },
}
SCSS
$custom: #1e3d9c;
$custom-light: #7072ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3d9c",
  "rgb": {
    "r": 30,
    "g": 61,
    "b": 156
  },
  "hsl": {
    "h": 225.238,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40115,
    "c": 0.15907,
    "h": 265.6
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

primary
#1E3D9C
secondary
#C2A754
accent
#C03DEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1E3D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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