#1E145C#1E145C

#1E145C is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.121 H 280.3°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#1E145C
RGBrgb(30, 20, 92)
HSLhsl(248, 64%, 22%)
HSVhsv(248, 78%, 36%)
CMYKcmyk(67.4%, 78.3%, 0%, 63.9%)
CIE-LABlab(12.91, 28.24, -41.21)
CIE-LCHlch(12.91, 49.96, 304.42°)
OKLaboklab(26.16% 0.0216 -0.1189)
OKLCHoklch(26.16% 0.121 280.3)
XYZxyz(2.7167, 1.5488, 10.2789)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E145C #525C14
analogous
#142E5C #1E145C #42145C
triadic
#1E145C #5C1E14 #145C1E
tetradic
#1E145C #5C142E #525C14 #145C42
square
#1E145C #5C142E #525C14 #145C42
split-complementary
#1E145C #5C4214 #2E5C14
monochromatic
#080519 #0E092A #1E145C #2E1F8E #3F2AC1

Accessibility & contrast

On white

16.03
#1E145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E145C
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E145C#FFFFFF#000000##FFFFFF
##1E145C1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#001F5B
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1e145c;
/* rgb */ color: rgb(30, 20, 92);
/* oklch */ color: oklch(26.2% 0.121 280.3);
Tailwind
colors: {
  custom: {
    50: '#63538b',
    500: '#1e145c',
    950: '#000000',
  },
}
SCSS
$custom: #1e145c;
$custom-light: #63538b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e145c",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 248.333,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26156,
    "c": 0.12085,
    "h": 280.3
  },
  "luminance": 0.01549
}

Semantic roles & 50–950 ramp

primary
#1E145C
secondary
#879438
accent
#E741D0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E145C

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

Preview Lab → · Contrast checker → · Palette generator →

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