#1E176F#1E176F

#1E176F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.143 H 276.0°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#1E176F
RGBrgb(30, 23, 111)
HSLhsl(245, 66%, 26%)
HSVhsv(245, 79%, 44%)
CMYKcmyk(73%, 79.3%, 0%, 56.5%)
CIE-LABlab(15.68, 33.08, -49.21)
CIE-LCHlch(15.68, 59.29, 303.90°)
OKLaboklab(28.74% 0.015 -0.1423)
OKLCHoklch(28.74% 0.143 276)
XYZxyz(3.7101, 2.0362, 15.2333)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E176F #686F17
analogous
#173C6F #1E176F #4A176F
triadic
#1E176F #6F1E17 #176F1E
tetradic
#1E176F #6F173C #686F17 #176F4A
square
#1E176F #6F173C #686F17 #176F4A
split-complementary
#1E176F #6F4A17 #3C6F17
monochromatic
#070519 #100C3C #1E176F #2C22A2 #3A2DD3

Accessibility & contrast

On white

14.92
#1E176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1E176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E176F
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E176F#FFFFFF#000000##FFFFFF
##1E176F1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e176f;
/* rgb */ color: rgb(30, 23, 111);
/* oklch */ color: oklch(28.7% 0.143 276.0);
Tailwind
colors: {
  custom: {
    50: '#685699',
    500: '#1e176f',
    950: '#000000',
  },
}
SCSS
$custom: #1e176f;
$custom-light: #685699;
$custom-dark: #000000;
JSON
{
  "hex": "#1e176f",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 244.773,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28743,
    "c": 0.14305,
    "h": 276
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#1E176F
secondary
#9DA53D
accent
#E93FDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E176F

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

Preview Lab → · Contrast checker → · Palette generator →

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