#1E138E#1E138E

#1E138E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.185 H 272.5°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#1E138E
RGBrgb(30, 19, 142)
HSLhsl(245, 76%, 32%)
HSVhsv(245, 87%, 56%)
CMYKcmyk(78.9%, 86.6%, 0%, 44.3%)
CIE-LABlab(18.77, 45.24, -63.82)
CIE-LCHlch(18.77, 78.22, 305.33°)
OKLaboklab(32% 0.0082 -0.1846)
OKLCHoklch(32% 0.185 272.5)
XYZxyz(5.6491, 2.6941, 25.8082)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E138E #838E13
analogous
#13468E #1E138E #5C138E
triadic
#1E138E #8E1E13 #138E1E
tetradic
#1E138E #8E1346 #838E13 #138E5C
square
#1E138E #8E1346 #838E13 #138E5C
split-complementary
#1E138E #8E5C13 #468E13
monochromatic
#070522 #130C58 #1E138E #291AC4 #4737E4

Accessibility & contrast

On white

13.65
#1E138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E138E
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E138E#FFFFFF#000000##FFFFFF
##1E138E1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003391
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e138e;
/* rgb */ color: rgb(30, 19, 142);
/* oklch */ color: oklch(32.0% 0.185 272.5);
Tailwind
colors: {
  custom: {
    50: '#7056b0',
    500: '#1e138e',
    950: '#000000',
  },
}
SCSS
$custom: #1e138e;
$custom-light: #7056b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e138e",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 245.366,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31999,
    "c": 0.18475,
    "h": 272.5
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#1E138E
secondary
#B6C23B
accent
#F335E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1E138E

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

Preview Lab → · Contrast checker → · Palette generator →

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