#1E185A#1E185A

#1E185A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.113 H 279.5°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#1E185A
RGBrgb(30, 24, 90)
HSLhsl(245, 58%, 22%)
HSVhsv(245, 73%, 35%)
CMYKcmyk(66.7%, 73.3%, 0%, 64.7%)
CIE-LABlab(13.63, 24.96, -38.69)
CIE-LCHlch(13.63, 46.04, 302.83°)
OKLaboklab(26.61% 0.0187 -0.1115)
OKLCHoklch(26.61% 0.113 279.5)
XYZxyz(2.7069, 1.6673, 9.8500)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E185A #545A18
analogous
#18335A #1E185A #3F185A
triadic
#1E185A #5A1E18 #185A1E
tetradic
#1E185A #5A1833 #545A18 #185A3F
square
#1E185A #5A1833 #545A18 #185A3F
split-complementary
#1E185A #5A3F18 #335A18
monochromatic
#080618 #0E0B2A #1E185A #2E258A #3E32BB

Accessibility & contrast

On white

15.75
#1E185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1E185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E185A
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E185A#FFFFFF#000000##FFFFFF
##1E185A1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#002059
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e185a;
/* rgb */ color: rgb(30, 24, 90);
/* oklch */ color: oklch(26.6% 0.113 279.5);
Tailwind
colors: {
  custom: {
    50: '#625589',
    500: '#1e185a',
    950: '#000000',
  },
}
SCSS
$custom: #1e185a;
$custom-light: #625589;
$custom-dark: #000000;
JSON
{
  "hex": "#1e185a",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 245.455,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26606,
    "c": 0.11308,
    "h": 279.5
  },
  "luminance": 0.01667
}

Semantic roles & 50–950 ramp

primary
#1E185A
secondary
#89913D
accent
#E147D3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1E185A

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

Preview Lab → · Contrast checker → · Palette generator →

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