#1E175E#1E175E

#1E175E is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.120 H 279.0°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#1E175E
RGBrgb(30, 23, 94)
HSLhsl(246, 61%, 23%)
HSVhsv(246, 76%, 37%)
CMYKcmyk(68.1%, 75.5%, 0%, 63.1%)
CIE-LABlab(13.81, 27.06, -41.09)
CIE-LCHlch(13.81, 49.20, 303.37°)
OKLaboklab(26.86% 0.0188 -0.1185)
OKLCHoklch(26.86% 0.12 279)
XYZxyz(2.8615, 1.6967, 10.7642)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E175E #575E17
analogous
#17345E #1E175E #41175E
triadic
#1E175E #5E1E17 #175E1E
tetradic
#1E175E #5E1734 #575E17 #175E41
square
#1E175E #5E1734 #575E17 #175E41
split-complementary
#1E175E #5E4117 #345E17
monochromatic
#080619 #0E0B2D #1E175E #2E238F #3D2FC0

Accessibility & contrast

On white

15.68
#1E175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E175E
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E175E#FFFFFF#000000##FFFFFF
##1E175E1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00205D
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e175e;
/* rgb */ color: rgb(30, 23, 94);
/* oklch */ color: oklch(26.9% 0.120 279.0);
Tailwind
colors: {
  custom: {
    50: '#63558c',
    500: '#1e175e',
    950: '#000000',
  },
}
SCSS
$custom: #1e175e;
$custom-light: #63558c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e175e",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 245.915,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26856,
    "c": 0.12002,
    "h": 279
  },
  "luminance": 0.01697
}

Semantic roles & 50–950 ramp

primary
#1E175E
secondary
#8C953C
accent
#E444D4
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1E175E

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

Preview Lab → · Contrast checker → · Palette generator →

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