#1D145E#1D145E

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

Color values

HEX#1D145E
RGBrgb(29, 20, 94)
HSLhsl(247, 65%, 22%)
HSVhsv(247, 79%, 37%)
CMYKcmyk(69.1%, 78.7%, 0%, 63.1%)
CIE-LABlab(13.04, 28.80, -42.35)
CIE-LCHlch(13.04, 51.21, 304.22°)
OKLaboklab(26.29% 0.0196 -0.1222)
OKLCHoklch(26.29% 0.124 279.1)
XYZxyz(2.7766, 1.5695, 10.7441)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D145E #555E14
analogous
#14305E #1D145E #42145E
triadic
#1D145E #5E1D14 #145E1D
tetradic
#1D145E #5E1430 #555E14 #145E42
square
#1D145E #5E1430 #555E14 #145E42
split-complementary
#1D145E #5E4214 #305E14
monochromatic
#080519 #0D092C #1D145E #2D1F90 #3C29C3

Accessibility & contrast

On white

15.98
#1D145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D145E
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D145E#FFFFFF#000000##FFFFFF
##1D145E1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1d145e;
/* rgb */ color: rgb(29, 20, 94);
/* oklch */ color: oklch(26.3% 0.124 279.1);
Tailwind
colors: {
  custom: {
    50: '#63538d',
    500: '#1d145e',
    950: '#000000',
  },
}
SCSS
$custom: #1d145e;
$custom-light: #63538d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d145e",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 247.297,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2629,
    "c": 0.1238,
    "h": 279.1
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

primary
#1D145E
secondary
#8A9638
accent
#E840D3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D145E

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

Preview Lab → · Contrast checker → · Palette generator →

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