#1E137A#1E137A

#1E137A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.161 H 275.0°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#1E137A
RGBrgb(30, 19, 122)
HSLhsl(246, 73%, 28%)
HSVhsv(246, 84%, 48%)
CMYKcmyk(75.4%, 84.4%, 0%, 52.2%)
CIE-LABlab(16.24, 38.93, -55.38)
CIE-LCHlch(16.24, 67.70, 305.10°)
OKLaboklab(29.52% 0.0139 -0.1601)
OKLCHoklch(29.52% 0.161 275)
XYZxyz(4.2800, 2.1465, 18.5973)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E137A #6F7A13
analogous
#133B7A #1E137A #52137A
triadic
#1E137A #7A1E13 #137A1E
tetradic
#1E137A #7A133B #6F7A13 #137A52
square
#1E137A #7A133B #6F7A13 #137A52
split-complementary
#1E137A #7A5213 #3B7A13
monochromatic
#07041A #110B45 #1E137A #2B1BAF #3D2ADE

Accessibility & contrast

On white

14.69
#1E137A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1E137A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E137A
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E137A#FFFFFF#000000##FFFFFF
##1E137A1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7D
Deuteranopia (green-blind)
#002478
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e137a;
/* rgb */ color: rgb(30, 19, 122);
/* oklch */ color: oklch(29.5% 0.161 275.0);
Tailwind
colors: {
  custom: {
    50: '#6b54a2',
    500: '#1e137a',
    950: '#000000',
  },
}
SCSS
$custom: #1e137a;
$custom-light: #6b54a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e137a",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 122
  },
  "hsl": {
    "h": 246.408,
    "s": 73.05,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29521,
    "c": 0.16074,
    "h": 275
  },
  "luminance": 0.02147
}

Semantic roles & 50–950 ramp

primary
#1E137A
secondary
#A3B039
accent
#F038DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E137A

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

Preview Lab → · Contrast checker → · Palette generator →

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