#1E145D#1E145D

#1E145D is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.122 H 280.1°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#1E145D
RGBrgb(30, 20, 93)
HSLhsl(248, 65%, 22%)
HSVhsv(248, 78%, 36%)
CMYKcmyk(67.7%, 78.5%, 0%, 63.5%)
CIE-LABlab(13.02, 28.59, -41.70)
CIE-LCHlch(13.02, 50.56, 304.43°)
OKLaboklab(26.27% 0.0214 -0.1203)
OKLCHoklch(26.27% 0.122 280.1)
XYZxyz(2.7607, 1.5664, 10.5107)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E145D #535D14
analogous
#142F5D #1E145D #43145D
triadic
#1E145D #5D1E14 #145D1E
tetradic
#1E145D #5D142F #535D14 #145D43
square
#1E145D #5D142F #535D14 #145D43
split-complementary
#1E145D #5D4314 #2F5D14
monochromatic
#080519 #0E092B #1E145D #2E1F8F #3E2AC2

Accessibility & contrast

On white

15.99
#1E145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1E145D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E145D
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E145D#FFFFFF#000000##FFFFFF
##1E145D1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e145d;
/* rgb */ color: rgb(30, 20, 93);
/* oklch */ color: oklch(26.3% 0.122 280.1);
Tailwind
colors: {
  custom: {
    50: '#64538c',
    500: '#1e145d',
    950: '#000000',
  },
}
SCSS
$custom: #1e145d;
$custom-light: #64538c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e145d",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 248.219,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26266,
    "c": 0.12221,
    "h": 280.1
  },
  "luminance": 0.01567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E145D

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

Preview Lab → · Contrast checker → · Palette generator →

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