#1D145B#1D145B

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

Color values

HEX#1D145B
RGBrgb(29, 20, 91)
HSLhsl(248, 64%, 22%)
HSVhsv(248, 78%, 36%)
CMYKcmyk(68.1%, 78%, 0%, 64.3%)
CIE-LABlab(12.71, 27.75, -40.88)
CIE-LCHlch(12.71, 49.40, 304.17°)
OKLaboklab(25.96% 0.0203 -0.1179)
OKLCHoklch(25.96% 0.12 279.8)
XYZxyz(2.6446, 1.5166, 10.0489)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D145B #525B14
analogous
#142F5B #1D145B #41145B
triadic
#1D145B #5B1D14 #145B1D
tetradic
#1D145B #5B142F #525B14 #145B41
square
#1D145B #5B142F #525B14 #145B41
split-complementary
#1D145B #5B4114 #2F5B14
monochromatic
#080619 #0D0929 #1D145B #2D1F8D #3D2ABF

Accessibility & contrast

On white

16.11
#1D145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1D145B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D145B
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D145B#FFFFFF#000000##FFFFFF
##1D145B1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.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: #1d145b;
/* rgb */ color: rgb(29, 20, 91);
/* oklch */ color: oklch(26.0% 0.120 279.8);
Tailwind
colors: {
  custom: {
    50: '#63538a',
    500: '#1d145b',
    950: '#000000',
  },
}
SCSS
$custom: #1d145b;
$custom-light: #63538a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d145b",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 247.606,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25957,
    "c": 0.11968,
    "h": 279.8
  },
  "luminance": 0.01517
}

Semantic roles & 50–950 ramp

primary
#1D145B
secondary
#879338
accent
#E741D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D145B

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

Preview Lab → · Contrast checker → · Palette generator →

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