#1E185E#1E185E

#1E185E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 27.0% C 0.119 H 278.7°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#1E185E
RGBrgb(30, 24, 94)
HSLhsl(245, 59%, 23%)
HSVhsv(245, 74%, 37%)
CMYKcmyk(68.1%, 74.5%, 0%, 63.1%)
CIE-LABlab(14.04, 26.42, -40.70)
CIE-LCHlch(14.04, 48.52, 302.99°)
OKLaboklab(27.03% 0.018 -0.1174)
OKLCHoklch(27.03% 0.119 278.7)
XYZxyz(2.8818, 1.7372, 10.7710)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E185E #585E18
analogous
#18355E #1E185E #41185E
triadic
#1E185E #5E1E18 #185E1E
tetradic
#1E185E #5E1835 #585E18 #185E41
square
#1E185E #5E1835 #585E18 #185E41
split-complementary
#1E185E #5E4118 #355E18
monochromatic
#080618 #0E0C2D #1E185E #2E248F #3D31C0

Accessibility & contrast

On white

15.59
#1E185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1E185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E185E
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E185E#FFFFFF#000000##FFFFFF
##1E185E1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00215D
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1e185e;
/* rgb */ color: rgb(30, 24, 94);
/* oklch */ color: oklch(27.0% 0.119 278.7);
Tailwind
colors: {
  custom: {
    50: '#63558c',
    500: '#1e185e',
    950: '#000000',
  },
}
SCSS
$custom: #1e185e;
$custom-light: #63558c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e185e",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 245.143,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27025,
    "c": 0.11878,
    "h": 278.7
  },
  "luminance": 0.01737
}

Semantic roles & 50–950 ramp

primary
#1E185E
secondary
#8D943D
accent
#E345D5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1E185E

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

Preview Lab → · Contrast checker → · Palette generator →

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