#1E137F#1E137F

#1E137F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.167 H 274.3°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#1E137F
RGBrgb(30, 19, 127)
HSLhsl(246, 74%, 29%)
HSVhsv(246, 85%, 50%)
CMYKcmyk(76.4%, 85%, 0%, 50.2%)
CIE-LABlab(16.86, 40.54, -57.54)
CIE-LCHlch(16.86, 70.39, 305.16°)
OKLaboklab(30.13% 0.0125 -0.1664)
OKLCHoklch(30.13% 0.167 274.3)
XYZxyz(4.5978, 2.2736, 20.2711)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E137F #747F13
analogous
#133E7F #1E137F #54137F
triadic
#1E137F #7F1E13 #137F1E
tetradic
#1E137F #7F133E #747F13 #137F54
square
#1E137F #7F133E #747F13 #137F54
split-complementary
#1E137F #7F5413 #3E7F13
monochromatic
#06041B #110B4A #1E137F #2B1BB4 #3F2DE0

Accessibility & contrast

On white

14.43
#1E137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1E137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E137F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E137F#FFFFFF#000000##FFFFFF
##1E137F1.0014.431.4514.43
#FFFFFF14.431.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e137f;
/* rgb */ color: rgb(30, 19, 127);
/* oklch */ color: oklch(30.1% 0.167 274.3);
Tailwind
colors: {
  custom: {
    50: '#6c55a5',
    500: '#1e137f',
    950: '#000000',
  },
}
SCSS
$custom: #1e137f;
$custom-light: #6c55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e137f",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 246.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30133,
    "c": 0.16686,
    "h": 274.3
  },
  "luminance": 0.02274
}

Semantic roles & 50–950 ramp

primary
#1E137F
secondary
#A8B439
accent
#F137DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E137F

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

Preview Lab → · Contrast checker → · Palette generator →

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