#1D135A#1D135A

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

Color values

HEX#1D135A
RGBrgb(29, 19, 90)
HSLhsl(248, 65%, 21%)
HSVhsv(248, 79%, 35%)
CMYKcmyk(67.8%, 78.9%, 0%, 64.7%)
CIE-LABlab(12.38, 28.01, -40.75)
CIE-LCHlch(12.38, 49.45, 304.51°)
OKLaboklab(25.69% 0.0213 -0.1176)
OKLCHoklch(25.69% 0.119 280.3)
XYZxyz(2.5844, 1.4649, 9.8174)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D135A #505A13
analogous
#132D5A #1D135A #41135A
triadic
#1D135A #5A1D13 #135A1D
tetradic
#1D135A #5A132D #505A13 #135A41
square
#1D135A #5A132D #505A13 #135A41
split-complementary
#1D135A #5A4113 #2D5A13
monochromatic
#080519 #0D0827 #1D135A #2D1E8D #3E28BF

Accessibility & contrast

On white

16.24
#1D135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1D135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D135A
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D135A#FFFFFF#000000##FFFFFF
##1D135A1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d135a;
/* rgb */ color: rgb(29, 19, 90);
/* oklch */ color: oklch(25.7% 0.119 280.3);
Tailwind
colors: {
  custom: {
    50: '#625289',
    500: '#1d135a',
    950: '#000000',
  },
}
SCSS
$custom: #1d135a;
$custom-light: #625289;
$custom-dark: #000000;
JSON
{
  "hex": "#1d135a",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 248.451,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2569,
    "c": 0.11947,
    "h": 280.3
  },
  "luminance": 0.01465
}

Semantic roles & 50–950 ramp

primary
#1D135A
secondary
#859237
accent
#E840D0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D135A

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

Preview Lab → · Contrast checker → · Palette generator →

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