#1E145E#1E145E

#1E145E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.124 H 279.8°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#1E145E
RGBrgb(30, 20, 94)
HSLhsl(248, 65%, 22%)
HSVhsv(248, 79%, 37%)
CMYKcmyk(68.1%, 78.7%, 0%, 63.1%)
CIE-LABlab(13.13, 28.94, -42.19)
CIE-LCHlch(13.13, 51.16, 304.45°)
OKLaboklab(26.38% 0.0211 -0.1218)
OKLCHoklch(26.38% 0.124 279.8)
XYZxyz(2.8053, 1.5843, 10.7455)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E145E #545E14
analogous
#142F5E #1E145E #43145E
triadic
#1E145E #5E1E14 #145E1E
tetradic
#1E145E #5E142F #545E14 #145E43
square
#1E145E #5E142F #545E14 #145E43
split-complementary
#1E145E #5E4314 #2F5E14
monochromatic
#080519 #0E092C #1E145E #2E1F90 #3E29C3

Accessibility & contrast

On white

15.95
#1E145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1E145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E145E
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E145E#FFFFFF#000000##FFFFFF
##1E145E1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e145e;
/* rgb */ color: rgb(30, 20, 94);
/* oklch */ color: oklch(26.4% 0.124 279.8);
Tailwind
colors: {
  custom: {
    50: '#64538d',
    500: '#1e145e',
    950: '#000000',
  },
}
SCSS
$custom: #1e145e;
$custom-light: #64538d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e145e",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 248.108,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26377,
    "c": 0.12358,
    "h": 279.8
  },
  "luminance": 0.01584
}

Semantic roles & 50–950 ramp

primary
#1E145E
secondary
#899638
accent
#E840D1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E145E

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

Preview Lab → · Contrast checker → · Palette generator →

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