#1E137B#1E137B

#1E137B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.162 H 274.8°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#1E137B
RGBrgb(30, 19, 123)
HSLhsl(246, 73%, 28%)
HSVhsv(246, 85%, 48%)
CMYKcmyk(75.6%, 84.6%, 0%, 51.8%)
CIE-LABlab(16.36, 39.25, -55.82)
CIE-LCHlch(16.36, 68.24, 305.11°)
OKLaboklab(29.64% 0.0136 -0.1614)
OKLCHoklch(29.64% 0.162 274.8)
XYZxyz(4.3423, 2.1714, 18.9253)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E137B #707B13
analogous
#133C7B #1E137B #52137B
triadic
#1E137B #7B1E13 #137B1E
tetradic
#1E137B #7B133C #707B13 #137B52
square
#1E137B #7B133C #707B13 #137B52
split-complementary
#1E137B #7B5213 #3C7B13
monochromatic
#06041B #110B46 #1E137B #2B1BB0 #3D2ADE

Accessibility & contrast

On white

14.64
#1E137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E137B
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E137B#FFFFFF#000000##FFFFFF
##1E137B1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e137b;
/* rgb */ color: rgb(30, 19, 123);
/* oklch */ color: oklch(29.6% 0.162 274.8);
Tailwind
colors: {
  custom: {
    50: '#6b54a2',
    500: '#1e137b',
    950: '#000000',
  },
}
SCSS
$custom: #1e137b;
$custom-light: #6b54a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e137b",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 246.346,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29643,
    "c": 0.16197,
    "h": 274.8
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E137B

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

Preview Lab → · Contrast checker → · Palette generator →

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