#1E138D#1E138D

#1E138D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.184 H 272.6°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#1E138D
RGBrgb(30, 19, 141)
HSLhsl(245, 76%, 31%)
HSVhsv(245, 87%, 55%)
CMYKcmyk(78.7%, 86.5%, 0%, 44.7%)
CIE-LABlab(18.65, 44.93, -63.41)
CIE-LCHlch(18.65, 77.71, 305.32°)
OKLaboklab(31.87% 0.0085 -0.1834)
OKLCHoklch(31.87% 0.184 272.6)
XYZxyz(5.5744, 2.6642, 25.4146)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E138D #828D13
analogous
#13458D #1E138D #5B138D
triadic
#1E138D #8D1E13 #138D1E
tetradic
#1E138D #8D1345 #828D13 #138D5B
square
#1E138D #8D1345 #828D13 #138D5B
split-complementary
#1E138D #8D5B13 #458D13
monochromatic
#070421 #130C57 #1E138D #291AC3 #4636E4

Accessibility & contrast

On white

13.70
#1E138D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E138D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E138D
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E138D#FFFFFF#000000##FFFFFF
##1E138D1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00278B
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e138d;
/* rgb */ color: rgb(30, 19, 141);
/* oklch */ color: oklch(31.9% 0.184 272.6);
Tailwind
colors: {
  custom: {
    50: '#7056b0',
    500: '#1e138d',
    950: '#000000',
  },
}
SCSS
$custom: #1e138d;
$custom-light: #7056b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e138d",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 141
  },
  "hsl": {
    "h": 245.41,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31873,
    "c": 0.18358,
    "h": 272.6
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E138D

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

Preview Lab → · Contrast checker → · Palette generator →

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