#1E175B#1E175B

#1E175B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.5% C 0.116 H 279.6°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#1E175B
RGBrgb(30, 23, 91)
HSLhsl(246, 60%, 22%)
HSVhsv(246, 75%, 36%)
CMYKcmyk(67%, 74.7%, 0%, 64.3%)
CIE-LABlab(13.50, 25.98, -39.59)
CIE-LCHlch(13.50, 47.35, 303.28°)
OKLaboklab(26.54% 0.0194 -0.1142)
OKLCHoklch(26.54% 0.116 279.6)
XYZxyz(2.7295, 1.6439, 10.0690)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E175B #545B17
analogous
#17325B #1E175B #40175B
triadic
#1E175B #5B1E17 #175B1E
tetradic
#1E175B #5B1732 #545B17 #175B40
square
#1E175B #5B1732 #545B17 #175B40
split-complementary
#1E175B #5B4017 #325B17
monochromatic
#080618 #0E0B2A #1E175B #2E238C #3E30BD

Accessibility & contrast

On white

15.80
#1E175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E175B
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E175B#FFFFFF#000000##FFFFFF
##1E175B1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#00205A
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e175b;
/* rgb */ color: rgb(30, 23, 91);
/* oklch */ color: oklch(26.5% 0.116 279.6);
Tailwind
colors: {
  custom: {
    50: '#63558a',
    500: '#1e175b',
    950: '#000000',
  },
}
SCSS
$custom: #1e175b;
$custom-light: #63558a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e175b",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 246.176,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26537,
    "c": 0.11579,
    "h": 279.6
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#1E175B
secondary
#89923C
accent
#E345D3
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1E175B

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

Preview Lab → · Contrast checker → · Palette generator →

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