#1E145B#1E145B

#1E145B is a dark, moderate blue. Relative luminance 0.015; OKLCH L 26.0% C 0.119 H 280.5°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#1E145B
RGBrgb(30, 20, 91)
HSLhsl(248, 64%, 22%)
HSVhsv(248, 78%, 36%)
CMYKcmyk(67%, 78%, 0%, 64.3%)
CIE-LABlab(12.81, 27.89, -40.72)
CIE-LCHlch(12.81, 49.35, 304.41°)
OKLaboklab(26.05% 0.0218 -0.1175)
OKLCHoklch(26.05% 0.119 280.5)
XYZxyz(2.6733, 1.5315, 10.0502)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E145B #515B14
analogous
#142E5B #1E145B #42145B
triadic
#1E145B #5B1E14 #145B1E
tetradic
#1E145B #5B142E #515B14 #145B42
square
#1E145B #5B142E #515B14 #145B42
split-complementary
#1E145B #5B4214 #2E5B14
monochromatic
#080619 #0D0929 #1E145B #2F1F8D #3F2ABF

Accessibility & contrast

On white

16.07
#1E145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E145B
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E145B#FFFFFF#000000##FFFFFF
##1E145B1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e145b;
/* rgb */ color: rgb(30, 20, 91);
/* oklch */ color: oklch(26.0% 0.119 280.5);
Tailwind
colors: {
  custom: {
    50: '#63538a',
    500: '#1e145b',
    950: '#000000',
  },
}
SCSS
$custom: #1e145b;
$custom-light: #63538a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e145b",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 248.451,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26046,
    "c": 0.11947,
    "h": 280.5
  },
  "luminance": 0.01532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E145B

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

Preview Lab → · Contrast checker → · Palette generator →

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