#1E185D#1E185D

#1E185D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.9% C 0.117 H 278.9°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#1E185D
RGBrgb(30, 24, 93)
HSLhsl(245, 59%, 23%)
HSVhsv(245, 74%, 36%)
CMYKcmyk(67.7%, 74.2%, 0%, 63.5%)
CIE-LABlab(13.94, 26.05, -40.20)
CIE-LCHlch(13.94, 47.90, 302.95°)
OKLaboklab(26.92% 0.0182 -0.1159)
OKLCHoklch(26.92% 0.117 278.9)
XYZxyz(2.8372, 1.7194, 10.5362)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E185D #575D18
analogous
#18355D #1E185D #40185D
triadic
#1E185D #5D1E18 #185D1E
tetradic
#1E185D #5D1835 #575D18 #185D40
square
#1E185D #5D1835 #575D18 #185D40
split-complementary
#1E185D #5D4018 #355D18
monochromatic
#080618 #0E0B2C #1E185D #2E258E #3D31BE

Accessibility & contrast

On white

15.62
#1E185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1E185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E185D
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E185D#FFFFFF#000000##FFFFFF
##1E185D1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e185d;
/* rgb */ color: rgb(30, 24, 93);
/* oklch */ color: oklch(26.9% 0.117 278.9);
Tailwind
colors: {
  custom: {
    50: '#63558c',
    500: '#1e185d',
    950: '#000000',
  },
}
SCSS
$custom: #1e185d;
$custom-light: #63558c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e185d",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 245.217,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26919,
    "c": 0.11736,
    "h": 278.9
  },
  "luminance": 0.0172
}

Semantic roles & 50–950 ramp

primary
#1E185D
secondary
#8C933D
accent
#E246D5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1E185D

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

Preview Lab → · Contrast checker → · Palette generator →

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