#1D145A#1D145A

#1D145A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.8% C 0.118 H 280.0°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#1D145A
RGBrgb(29, 20, 90)
HSLhsl(248, 64%, 22%)
HSVhsv(248, 78%, 35%)
CMYKcmyk(67.8%, 77.8%, 0%, 64.7%)
CIE-LABlab(12.60, 27.39, -40.38)
CIE-LCHlch(12.60, 48.79, 304.15°)
OKLaboklab(25.85% 0.0205 -0.1165)
OKLCHoklch(25.85% 0.118 280)
XYZxyz(2.6017, 1.4995, 9.8232)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D145A #515A14
analogous
#142E5A #1D145A #40145A
triadic
#1D145A #5A1D14 #145A1D
tetradic
#1D145A #5A142E #515A14 #145A40
square
#1D145A #5A142E #515A14 #145A40
split-complementary
#1D145A #5A4014 #2E5A14
monochromatic
#080619 #0D0928 #1D145A #2D1F8C #3D2ABE

Accessibility & contrast

On white

16.15
#1D145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D145A
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D145A#FFFFFF#000000##FFFFFF
##1D145A1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1d145a;
/* rgb */ color: rgb(29, 20, 90);
/* oklch */ color: oklch(25.8% 0.118 280.0);
Tailwind
colors: {
  custom: {
    50: '#625389',
    500: '#1d145a',
    950: '#000000',
  },
}
SCSS
$custom: #1d145a;
$custom-light: #625389;
$custom-dark: #000000;
JSON
{
  "hex": "#1d145a",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 247.714,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25847,
    "c": 0.11829,
    "h": 280
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#1D145A
secondary
#869238
accent
#E741D1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D145A

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

Preview Lab → · Contrast checker → · Palette generator →

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