#1E175A#1E175A

#1E175A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.4% C 0.114 H 279.8°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#1E175A
RGBrgb(30, 23, 90)
HSLhsl(246, 59%, 22%)
HSVhsv(246, 74%, 35%)
CMYKcmyk(66.7%, 74.4%, 0%, 64.7%)
CIE-LABlab(13.39, 25.62, -39.08)
CIE-LCHlch(13.39, 46.73, 303.24°)
OKLaboklab(26.43% 0.0196 -0.1127)
OKLCHoklch(26.43% 0.114 279.8)
XYZxyz(2.6867, 1.6268, 9.8433)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E175A #535A17
analogous
#17315A #1E175A #40175A
triadic
#1E175A #5A1E17 #175A1E
tetradic
#1E175A #5A1731 #535A17 #175A40
square
#1E175A #5A1731 #535A17 #175A40
split-complementary
#1E175A #5A4017 #315A17
monochromatic
#080618 #0E0B29 #1E175A #2E238B #3E30BB

Accessibility & contrast

On white

15.84
#1E175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E175A
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E175A#FFFFFF#000000##FFFFFF
##1E175A1.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e175a;
/* rgb */ color: rgb(30, 23, 90);
/* oklch */ color: oklch(26.4% 0.114 279.8);
Tailwind
colors: {
  custom: {
    50: '#625589',
    500: '#1e175a',
    950: '#000000',
  },
}
SCSS
$custom: #1e175a;
$custom-light: #625589;
$custom-dark: #000000;
JSON
{
  "hex": "#1e175a",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 246.269,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26432,
    "c": 0.11437,
    "h": 279.8
  },
  "luminance": 0.01627
}

Semantic roles & 50–950 ramp

primary
#1E175A
secondary
#88913C
accent
#E245D2
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1E175A

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

Preview Lab → · Contrast checker → · Palette generator →

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