#1E107D#1E107D

#1E107D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.6% C 0.167 H 274.8°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#1E107D
RGBrgb(30, 16, 125)
HSLhsl(248, 77%, 28%)
HSVhsv(248, 87%, 49%)
CMYKcmyk(76%, 87.2%, 0%, 51%)
CIE-LABlab(16.14, 41.29, -57.47)
CIE-LCHlch(16.14, 70.76, 305.70°)
OKLaboklab(29.56% 0.014 -0.1661)
OKLCHoklch(29.56% 0.167 274.8)
XYZxyz(4.4212, 2.1268, 19.5756)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E107D #6F7D10
analogous
#10397D #1E107D #54107D
triadic
#1E107D #7D1E10 #107D1E
tetradic
#1E107D #7D1039 #6F7D10 #107D54
square
#1E107D #7D1039 #6F7D10 #107D54
split-complementary
#1E107D #7D5410 #397D10
monochromatic
#07031B #110947 #1E107D #2B17B3 #3D24E3

Accessibility & contrast

On white

14.73
#1E107D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1E107D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E107D
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E107D#FFFFFF#000000##FFFFFF
##1E107D1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D80
Deuteranopia (green-blind)
#00237B
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e107d;
/* rgb */ color: rgb(30, 16, 125);
/* oklch */ color: oklch(29.6% 0.167 274.8);
Tailwind
colors: {
  custom: {
    50: '#6c53a4',
    500: '#1e107d',
    950: '#000000',
  },
}
SCSS
$custom: #1e107d;
$custom-light: #6c53a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e107d",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 125
  },
  "hsl": {
    "h": 247.706,
    "s": 77.305,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29563,
    "c": 0.16671,
    "h": 274.8
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#1E107D
secondary
#A3B335
accent
#F434DB
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E107D

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

Preview Lab → · Contrast checker → · Palette generator →

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