#1E108D#1E108D

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

Color values

HEX#1E108D
RGBrgb(30, 16, 141)
HSLhsl(247, 80%, 31%)
HSVhsv(247, 89%, 55%)
CMYKcmyk(78.7%, 88.7%, 0%, 44.7%)
CIE-LABlab(18.23, 46.17, -64.10)
CIE-LCHlch(18.23, 79.00, 305.77°)
OKLaboklab(31.59% 0.0091 -0.1853)
OKLCHoklch(31.59% 0.186 272.8)
XYZxyz(5.5268, 2.5691, 25.3987)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E108D #7F8D10
analogous
#10408D #1E108D #5C108D
triadic
#1E108D #8D1E10 #108D1E
tetradic
#1E108D #8D1040 #7F8D10 #108D5C
square
#1E108D #8D1040 #7F8D10 #108D5C
split-complementary
#1E108D #8D5C10 #408D10
monochromatic
#07041F #120A56 #1E108D #2A16C4 #4430E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E108D#FFFFFF#000000##FFFFFF
##1E108D1.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)
#003290
Deuteranopia (green-blind)
#00268B
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e108d;
/* rgb */ color: rgb(30, 16, 141);
/* oklch */ color: oklch(31.6% 0.186 272.8);
Tailwind
colors: {
  custom: {
    50: '#7055b0',
    500: '#1e108d',
    950: '#000000',
  },
}
SCSS
$custom: #1e108d;
$custom-light: #7055b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e108d",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 246.72,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31587,
    "c": 0.18555,
    "h": 272.8
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#1E108D
secondary
#B2C237
accent
#F632E0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1E108D

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

Preview Lab → · Contrast checker → · Palette generator →

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