#1E117F#1E117F

#1E117F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.168 H 274.5°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#1E117F
RGBrgb(30, 17, 127)
HSLhsl(247, 76%, 28%)
HSVhsv(247, 87%, 50%)
CMYKcmyk(76.4%, 86.6%, 0%, 50.2%)
CIE-LABlab(16.55, 41.47, -58.07)
CIE-LCHlch(16.55, 71.35, 305.53°)
OKLaboklab(29.92% 0.0131 -0.1679)
OKLCHoklch(29.92% 0.168 274.5)
XYZxyz(4.5654, 2.2088, 20.2603)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E117F #727F11
analogous
#113B7F #1E117F #55117F
triadic
#1E117F #7F1E11 #117F1E
tetradic
#1E117F #7F113B #727F11 #117F55
square
#1E117F #7F113B #727F11 #117F55
split-complementary
#1E117F #7F5511 #3B7F11
monochromatic
#06041B #110A49 #1E117F #2B18B5 #3E28E2

Accessibility & contrast

On white

14.57
#1E117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E117F
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E117F#FFFFFF#000000##FFFFFF
##1E117F1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e117f;
/* rgb */ color: rgb(30, 17, 127);
/* oklch */ color: oklch(29.9% 0.168 274.5);
Tailwind
colors: {
  custom: {
    50: '#6c54a5',
    500: '#1e117f',
    950: '#000000',
  },
}
SCSS
$custom: #1e117f;
$custom-light: #6c54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e117f",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 247.091,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29916,
    "c": 0.16838,
    "h": 274.5
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E117F

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

Preview Lab → · Contrast checker → · Palette generator →

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