#1E175C#1E175C

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

Color values

HEX#1E175C
RGBrgb(30, 23, 92)
HSLhsl(246, 60%, 23%)
HSVhsv(246, 75%, 36%)
CMYKcmyk(67.4%, 75%, 0%, 63.9%)
CIE-LABlab(13.60, 26.34, -40.09)
CIE-LCHlch(13.60, 47.97, 303.31°)
OKLaboklab(26.64% 0.0192 -0.1156)
OKLCHoklch(26.64% 0.117 279.4)
XYZxyz(2.7730, 1.6613, 10.2977)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E175C #555C17
analogous
#17325C #1E175C #40175C
triadic
#1E175C #5C1E17 #175C1E
tetradic
#1E175C #5C1732 #555C17 #175C40
square
#1E175C #5C1732 #555C17 #175C40
split-complementary
#1E175C #5C4017 #325C17
monochromatic
#080618 #0E0B2B #1E175C #2E238D #3E2FBE

Accessibility & contrast

On white

15.76
#1E175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E175C
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E175C#FFFFFF#000000##FFFFFF
##1E175C1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00205B
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e175c;
/* rgb */ color: rgb(30, 23, 92);
/* oklch */ color: oklch(26.6% 0.117 279.4);
Tailwind
colors: {
  custom: {
    50: '#63558b',
    500: '#1e175c',
    950: '#000000',
  },
}
SCSS
$custom: #1e175c;
$custom-light: #63558b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e175c",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 246.087,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26643,
    "c": 0.11721,
    "h": 279.4
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#1E175C
secondary
#8A933C
accent
#E345D3
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1E175C

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

Preview Lab → · Contrast checker → · Palette generator →

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