#1E118E#1E118E

#1E118E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.8% C 0.186 H 272.7°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#1E118E
RGBrgb(30, 17, 142)
HSLhsl(246, 79%, 31%)
HSVhsv(246, 88%, 56%)
CMYKcmyk(78.9%, 88%, 0%, 44.3%)
CIE-LABlab(18.49, 46.07, -64.28)
CIE-LCHlch(18.49, 79.09, 305.63°)
OKLaboklab(31.81% 0.0086 -0.1859)
OKLCHoklch(31.81% 0.186 272.7)
XYZxyz(5.6167, 2.6293, 25.7974)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E118E #818E11
analogous
#11428E #1E118E #5C118E
triadic
#1E118E #8E1E11 #118E1E
tetradic
#1E118E #8E1142 #818E11 #118E5C
square
#1E118E #8E1142 #818E11 #118E5C
split-complementary
#1E118E #8E5C11 #428E11
monochromatic
#070421 #120A57 #1E118E #2A18C5 #4633E7

Accessibility & contrast

On white

13.76
#1E118E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E118E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E118E
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E118E#FFFFFF#000000##FFFFFF
##1E118E1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003391
Deuteranopia (green-blind)
#00278C
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e118e;
/* rgb */ color: rgb(30, 17, 142);
/* oklch */ color: oklch(31.8% 0.186 272.7);
Tailwind
colors: {
  custom: {
    50: '#7055b0',
    500: '#1e118e',
    950: '#000000',
  },
}
SCSS
$custom: #1e118e;
$custom-light: #7055b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e118e",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 142
  },
  "hsl": {
    "h": 246.24,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31806,
    "c": 0.18608,
    "h": 272.7
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#1E118E
secondary
#B4C238
accent
#F533E1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1E118E

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

Preview Lab → · Contrast checker → · Palette generator →

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