#1E137C#1E137C

#1E137C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.163 H 274.7°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#1E137C
RGBrgb(30, 19, 124)
HSLhsl(246, 73%, 28%)
HSVhsv(246, 85%, 49%)
CMYKcmyk(75.8%, 84.7%, 0%, 51.4%)
CIE-LABlab(16.49, 39.57, -56.25)
CIE-LCHlch(16.49, 68.78, 305.13°)
OKLaboklab(29.77% 0.0133 -0.1626)
OKLCHoklch(29.77% 0.163 274.7)
XYZxyz(4.4052, 2.1966, 19.2567)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E137C #717C13
analogous
#133C7C #1E137C #52137C
triadic
#1E137C #7C1E13 #137C1E
tetradic
#1E137C #7C133C #717C13 #137C52
square
#1E137C #7C133C #717C13 #137C52
split-complementary
#1E137C #7C5213 #3C7C13
monochromatic
#06041B #110B47 #1E137C #2B1BB1 #3E2BDF

Accessibility & contrast

On white

14.59
#1E137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E137C
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E137C#FFFFFF#000000##FFFFFF
##1E137C1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e137c;
/* rgb */ color: rgb(30, 19, 124);
/* oklch */ color: oklch(29.8% 0.163 274.7);
Tailwind
colors: {
  custom: {
    50: '#6b54a3',
    500: '#1e137c',
    950: '#000000',
  },
}
SCSS
$custom: #1e137c;
$custom-light: #6b54a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e137c",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 246.286,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29765,
    "c": 0.1632,
    "h": 274.7
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E137C

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

Preview Lab → · Contrast checker → · Palette generator →

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