#1D135B#1D135B

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

Color values

HEX#1D135B
RGBrgb(29, 19, 91)
HSLhsl(248, 65%, 22%)
HSVhsv(248, 79%, 36%)
CMYKcmyk(68.1%, 79.1%, 0%, 64.3%)
CIE-LABlab(12.49, 28.36, -41.24)
CIE-LCHlch(12.49, 50.05, 304.52°)
OKLaboklab(25.8% 0.021 -0.119)
OKLCHoklch(25.8% 0.121 280)
XYZxyz(2.6273, 1.4821, 10.0431)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D135B #515B13
analogous
#132D5B #1D135B #41135B
triadic
#1D135B #5B1D13 #135B1D
tetradic
#1D135B #5B132D #515B13 #135B41
square
#1D135B #5B132D #515B13 #135B41
split-complementary
#1D135B #5B4113 #2D5B13
monochromatic
#080519 #0D0828 #1D135B #2D1E8E #3D28C0

Accessibility & contrast

On white

16.20
#1D135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D135B
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D135B#FFFFFF#000000##FFFFFF
##1D135B1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235D
Deuteranopia (green-blind)
#001E5A
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1d135b;
/* rgb */ color: rgb(29, 19, 91);
/* oklch */ color: oklch(25.8% 0.121 280.0);
Tailwind
colors: {
  custom: {
    50: '#63528a',
    500: '#1d135b',
    950: '#000000',
  },
}
SCSS
$custom: #1d135b;
$custom-light: #63528a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d135b",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 248.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25801,
    "c": 0.12085,
    "h": 280
  },
  "luminance": 0.01482
}

Semantic roles & 50–950 ramp

primary
#1D135B
secondary
#869337
accent
#E83FD1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D135B

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

Preview Lab → · Contrast checker → · Palette generator →

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