#1E118C#1E118C

#1E118C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.184 H 272.9°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#1E118C
RGBrgb(30, 17, 140)
HSLhsl(246, 78%, 31%)
HSVhsv(246, 88%, 55%)
CMYKcmyk(78.6%, 87.9%, 0%, 45.1%)
CIE-LABlab(18.23, 45.47, -63.47)
CIE-LCHlch(18.23, 78.08, 305.62°)
OKLaboklab(31.55% 0.0092 -0.1835)
OKLCHoklch(31.55% 0.184 272.9)
XYZxyz(5.4679, 2.5698, 25.0137)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E118C #7F8C11
analogous
#11428C #1E118C #5B118C
triadic
#1E118C #8C1E11 #118C1E
tetradic
#1E118C #8C1142 #7F8C11 #118C5B
square
#1E118C #8C1142 #7F8C11 #118C5B
split-complementary
#1E118C #8C5B11 #428C11
monochromatic
#07041F #120A55 #1E118C #2A18C3 #4431E6

Accessibility & contrast

On white

13.87
#1E118C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1E118C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E118C
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E118C#FFFFFF#000000##FFFFFF
##1E118C1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328F
Deuteranopia (green-blind)
#00278A
Tritanopia (blue-blind)
#003A52
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e118c;
/* rgb */ color: rgb(30, 17, 140);
/* oklch */ color: oklch(31.6% 0.184 272.9);
Tailwind
colors: {
  custom: {
    50: '#7055af',
    500: '#1e118c',
    950: '#000000',
  },
}
SCSS
$custom: #1e118c;
$custom-light: #7055af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e118c",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 140
  },
  "hsl": {
    "h": 246.341,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31552,
    "c": 0.18375,
    "h": 272.9
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#1E118C
secondary
#B2C138
accent
#F533E0
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #1E118C

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

Preview Lab → · Contrast checker → · Palette generator →

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