#1E117E#1E117E

#1E117E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.167 H 274.6°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#1E117E
RGBrgb(30, 17, 126)
HSLhsl(247, 76%, 28%)
HSVhsv(247, 87%, 49%)
CMYKcmyk(76.2%, 86.5%, 0%, 50.6%)
CIE-LABlab(16.42, 41.15, -57.64)
CIE-LCHlch(16.42, 70.82, 305.52°)
OKLaboklab(29.79% 0.0134 -0.1666)
OKLCHoklch(29.79% 0.167 274.6)
XYZxyz(4.5005, 2.1828, 19.9188)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E117E #717E11
analogous
#113A7E #1E117E #54117E
triadic
#1E117E #7E1E11 #117E1E
tetradic
#1E117E #7E113A #717E11 #117E54
square
#1E117E #7E113A #717E11 #117E54
split-complementary
#1E117E #7E5411 #3A7E11
monochromatic
#06041B #110A48 #1E117E #2B18B4 #3E27E2

Accessibility & contrast

On white

14.62
#1E117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1E117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E117E
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E117E#FFFFFF#000000##FFFFFF
##1E117E1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e117e;
/* rgb */ color: rgb(30, 17, 126);
/* oklch */ color: oklch(29.8% 0.167 274.6);
Tailwind
colors: {
  custom: {
    50: '#6c54a5',
    500: '#1e117e',
    950: '#000000',
  },
}
SCSS
$custom: #1e117e;
$custom-light: #6c54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e117e",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 247.156,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29791,
    "c": 0.16718,
    "h": 274.6
  },
  "luminance": 0.02183
}

Semantic roles & 50–950 ramp

primary
#1E117E
secondary
#A5B437
accent
#F335DC
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E117E

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

Preview Lab → · Contrast checker → · Palette generator →

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