#1D135D#1D135D

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

Color values

HEX#1D135D
RGBrgb(29, 19, 93)
HSLhsl(248, 66%, 22%)
HSVhsv(248, 80%, 36%)
CMYKcmyk(68.8%, 79.6%, 0%, 63.5%)
CIE-LABlab(12.72, 29.06, -42.21)
CIE-LCHlch(12.72, 51.25, 304.54°)
OKLaboklab(26.03% 0.0205 -0.1218)
OKLCHoklch(26.03% 0.124 279.6)
XYZxyz(2.7147, 1.5171, 10.5036)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D135D #535D13
analogous
#132E5D #1D135D #42135D
triadic
#1D135D #5D1D13 #135D1D
tetradic
#1D135D #5D132E #535D13 #135D42
square
#1D135D #5D132E #535D13 #135D42
split-complementary
#1D135D #5D4213 #2E5D13
monochromatic
#080519 #0D092A #1D135D #2D1D90 #3D28C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D135D#FFFFFF#000000##FFFFFF
##1D135D1.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)
#00245F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1d135d;
/* rgb */ color: rgb(29, 19, 93);
/* oklch */ color: oklch(26.0% 0.124 279.6);
Tailwind
colors: {
  custom: {
    50: '#63528c',
    500: '#1d135d',
    950: '#000000',
  },
}
SCSS
$custom: #1d135d;
$custom-light: #63528c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d135d",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 248.108,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26025,
    "c": 0.12357,
    "h": 279.6
  },
  "luminance": 0.01517
}

Semantic roles & 50–950 ramp

primary
#1D135D
secondary
#889537
accent
#E93FD2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D135D

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

Preview Lab → · Contrast checker → · Palette generator →

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