#1E145F#1E145F

#1E145F is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.125 H 279.6°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#1E145F
RGBrgb(30, 20, 95)
HSLhsl(248, 65%, 23%)
HSVhsv(248, 79%, 37%)
CMYKcmyk(68.4%, 78.9%, 0%, 62.7%)
CIE-LABlab(13.24, 29.29, -42.68)
CIE-LCHlch(13.24, 51.77, 304.46°)
OKLaboklab(26.49% 0.0209 -0.1232)
OKLCHoklch(26.49% 0.125 279.6)
XYZxyz(2.8505, 1.6023, 10.9833)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E145F #555F14
analogous
#14305F #1E145F #43145F
triadic
#1E145F #5F1E14 #145F1E
tetradic
#1E145F #5F1430 #555F14 #145F43
square
#1E145F #5F1430 #555F14 #145F43
split-complementary
#1E145F #5F4314 #305F14
monochromatic
#080519 #0E092C #1E145F #2E1F92 #3E29C4

Accessibility & contrast

On white

15.90
#1E145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E145F
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E145F#FFFFFF#000000##FFFFFF
##1E145F1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e145f;
/* rgb */ color: rgb(30, 20, 95);
/* oklch */ color: oklch(26.5% 0.125 279.6);
Tailwind
colors: {
  custom: {
    50: '#64538d',
    500: '#1e145f',
    950: '#000000',
  },
}
SCSS
$custom: #1e145f;
$custom-light: #64538d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e145f",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 248,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26488,
    "c": 0.12494,
    "h": 279.6
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#1E145F
secondary
#8A9738
accent
#E840D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E145F

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

Preview Lab → · Contrast checker → · Palette generator →

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