#1E176E#1E176E

#1E176E is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.142 H 276.2°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#1E176E
RGBrgb(30, 23, 110)
HSLhsl(245, 65%, 26%)
HSVhsv(245, 79%, 43%)
CMYKcmyk(72.7%, 79.1%, 0%, 56.9%)
CIE-LABlab(15.56, 32.73, -48.75)
CIE-LCHlch(15.56, 58.72, 303.88°)
OKLaboklab(28.63% 0.0152 -0.1409)
OKLCHoklch(28.63% 0.142 276.2)
XYZxyz(3.6554, 2.0143, 14.9450)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E176E #676E17
analogous
#173B6E #1E176E #49176E
triadic
#1E176E #6E1E17 #176E1E
tetradic
#1E176E #6E173B #676E17 #176E49
square
#1E176E #6E173B #676E17 #176E49
split-complementary
#1E176E #6E4917 #3B6E17
monochromatic
#070519 #100C3B #1E176E #2C22A1 #3A2CD3

Accessibility & contrast

On white

14.97
#1E176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1E176E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E176E
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E176E#FFFFFF#000000##FFFFFF
##1E176E1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B70
Deuteranopia (green-blind)
#00236C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e176e;
/* rgb */ color: rgb(30, 23, 110);
/* oklch */ color: oklch(28.6% 0.142 276.2);
Tailwind
colors: {
  custom: {
    50: '#675699',
    500: '#1e176e',
    950: '#000000',
  },
}
SCSS
$custom: #1e176e;
$custom-light: #675699;
$custom-dark: #000000;
JSON
{
  "hex": "#1e176e",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 244.828,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28629,
    "c": 0.14173,
    "h": 276.2
  },
  "luminance": 0.02015
}

Semantic roles & 50–950 ramp

primary
#1E176E
secondary
#9CA43D
accent
#E83FDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E176E

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

Preview Lab → · Contrast checker → · Palette generator →

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