#1E137D#1E137D

#1E137D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.164 H 274.5°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#1E137D
RGBrgb(30, 19, 125)
HSLhsl(246, 74%, 28%)
HSVhsv(246, 85%, 49%)
CMYKcmyk(76%, 84.8%, 0%, 51%)
CIE-LABlab(16.61, 39.89, -56.68)
CIE-LCHlch(16.61, 69.31, 305.14°)
OKLaboklab(29.89% 0.013 -0.1639)
OKLCHoklch(29.89% 0.164 274.5)
XYZxyz(4.4687, 2.2220, 19.5914)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E137D #727D13
analogous
#133D7D #1E137D #53137D
triadic
#1E137D #7D1E13 #137D1E
tetradic
#1E137D #7D133D #727D13 #137D53
square
#1E137D #7D133D #727D13 #137D53
split-complementary
#1E137D #7D5313 #3D7D13
monochromatic
#06041B #110B48 #1E137D #2B1BB2 #3E2CDF

Accessibility & contrast

On white

14.54
#1E137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1E137D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E137D
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E137D#FFFFFF#000000##FFFFFF
##1E137D1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e137d;
/* rgb */ color: rgb(30, 19, 125);
/* oklch */ color: oklch(29.9% 0.164 274.5);
Tailwind
colors: {
  custom: {
    50: '#6c54a4',
    500: '#1e137d',
    950: '#000000',
  },
}
SCSS
$custom: #1e137d;
$custom-light: #6c54a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e137d",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 246.226,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29888,
    "c": 0.16442,
    "h": 274.5
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#1E137D
secondary
#A6B339
accent
#F038DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E137D

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

Preview Lab → · Contrast checker → · Palette generator →

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