#1E176B#1E176B

#1E176B is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.138 H 276.6°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#1E176B
RGBrgb(30, 23, 107)
HSLhsl(245, 65%, 25%)
HSVhsv(245, 79%, 42%)
CMYKcmyk(72%, 78.5%, 0%, 58%)
CIE-LABlab(15.22, 31.68, -47.35)
CIE-LCHlch(15.22, 56.97, 303.79°)
OKLaboklab(28.29% 0.016 -0.1368)
OKLCHoklch(28.29% 0.138 276.6)
XYZxyz(3.4948, 1.9500, 14.0993)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E176B #646B17
analogous
#173A6B #1E176B #48176B
triadic
#1E176B #6B1E17 #176B1E
tetradic
#1E176B #6B173A #646B17 #176B48
square
#1E176B #6B173A #646B17 #176B48
split-complementary
#1E176B #6B4817 #3A6B17
monochromatic
#070519 #100C39 #1E176B #2C229D #3A2DD0

Accessibility & contrast

On white

15.11
#1E176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1E176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E176B
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E176B#FFFFFF#000000##FFFFFF
##1E176B1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6D
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e176b;
/* rgb */ color: rgb(30, 23, 107);
/* oklch */ color: oklch(28.3% 0.138 276.6);
Tailwind
colors: {
  custom: {
    50: '#675596',
    500: '#1e176b',
    950: '#000000',
  },
}
SCSS
$custom: #1e176b;
$custom-light: #675596;
$custom-dark: #000000;
JSON
{
  "hex": "#1e176b",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 245,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28289,
    "c": 0.13776,
    "h": 276.6
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#1E176B
secondary
#99A13D
accent
#E840DA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1E176B

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

Preview Lab → · Contrast checker → · Palette generator →

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