#1E138C#1E138C

#1E138C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.182 H 272.7°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#1E138C
RGBrgb(30, 19, 140)
HSLhsl(245, 76%, 31%)
HSVhsv(245, 86%, 55%)
CMYKcmyk(78.6%, 86.4%, 0%, 45.1%)
CIE-LABlab(18.52, 44.62, -63.00)
CIE-LCHlch(18.52, 77.20, 305.31°)
OKLaboklab(31.75% 0.0087 -0.1822)
OKLCHoklch(31.75% 0.182 272.7)
XYZxyz(5.5003, 2.6346, 25.0245)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E138C #818C13
analogous
#13448C #1E138C #5A138C
triadic
#1E138C #8C1E13 #138C1E
tetradic
#1E138C #8C1344 #818C13 #138C5A
square
#1E138C #8C1344 #818C13 #138C5A
split-complementary
#1E138C #8C5A13 #448C13
monochromatic
#070420 #120C56 #1E138C #2A1AC2 #4636E4

Accessibility & contrast

On white

13.75
#1E138C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E138C
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E138C#FFFFFF#000000##FFFFFF
##1E138C1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338F
Deuteranopia (green-blind)
#00278A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e138c;
/* rgb */ color: rgb(30, 19, 140);
/* oklch */ color: oklch(31.7% 0.182 272.7);
Tailwind
colors: {
  custom: {
    50: '#7056af',
    500: '#1e138c',
    950: '#000000',
  },
}
SCSS
$custom: #1e138c;
$custom-light: #7056af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e138c",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 140
  },
  "hsl": {
    "h": 245.455,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31748,
    "c": 0.1824,
    "h": 272.7
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#1E138C
secondary
#B4C03B
accent
#F335E1
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #1E138C

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

Preview Lab → · Contrast checker → · Palette generator →

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