#1E175D#1E175D

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

Color values

HEX#1E175D
RGBrgb(30, 23, 93)
HSLhsl(246, 60%, 23%)
HSVhsv(246, 75%, 36%)
CMYKcmyk(67.7%, 75.3%, 0%, 63.5%)
CIE-LABlab(13.70, 26.70, -40.59)
CIE-LCHlch(13.70, 48.59, 303.34°)
OKLaboklab(26.75% 0.019 -0.1171)
OKLCHoklch(26.75% 0.119 279.2)
XYZxyz(2.8170, 1.6789, 10.5294)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E175D #565D17
analogous
#17335D #1E175D #41175D
triadic
#1E175D #5D1E17 #175D1E
tetradic
#1E175D #5D1733 #565D17 #175D41
square
#1E175D #5D1733 #565D17 #175D41
split-complementary
#1E175D #5D4117 #335D17
monochromatic
#080619 #0E0B2C #1E175D #2E238E #3E2FBF

Accessibility & contrast

On white

15.72
#1E175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E175D
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E175D#FFFFFF#000000##FFFFFF
##1E175D1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e175d;
/* rgb */ color: rgb(30, 23, 93);
/* oklch */ color: oklch(26.8% 0.119 279.2);
Tailwind
colors: {
  custom: {
    50: '#63558c',
    500: '#1e175d',
    950: '#000000',
  },
}
SCSS
$custom: #1e175d;
$custom-light: #63558c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e175d",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 246,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.2675,
    "c": 0.11862,
    "h": 279.2
  },
  "luminance": 0.01679
}

Semantic roles & 50–950 ramp

primary
#1E175D
secondary
#8B943C
accent
#E344D4
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1E175D

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

Preview Lab → · Contrast checker → · Palette generator →

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