#1D135E#1D135E

#1D135E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.125 H 279.3°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#1D135E
RGBrgb(29, 19, 94)
HSLhsl(248, 66%, 22%)
HSVhsv(248, 80%, 37%)
CMYKcmyk(69.1%, 79.8%, 0%, 63.1%)
CIE-LABlab(12.83, 29.41, -42.70)
CIE-LCHlch(12.83, 51.85, 304.56°)
OKLaboklab(26.14% 0.0203 -0.1233)
OKLCHoklch(26.14% 0.125 279.3)
XYZxyz(2.7593, 1.5349, 10.7384)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D135E #545E13
analogous
#132F5E #1D135E #43135E
triadic
#1D135E #5E1D13 #135E1D
tetradic
#1D135E #5E132F #545E13 #135E43
square
#1D135E #5E132F #545E13 #135E43
split-complementary
#1D135E #5E4313 #2F5E13
monochromatic
#080519 #0D092B #1D135E #2D1D91 #3C28C4

Accessibility & contrast

On white

16.07
#1D135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D135E
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D135E#FFFFFF#000000##FFFFFF
##1D135E1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1d135e;
/* rgb */ color: rgb(29, 19, 94);
/* oklch */ color: oklch(26.1% 0.125 279.3);
Tailwind
colors: {
  custom: {
    50: '#63528d',
    500: '#1d135e',
    950: '#000000',
  },
}
SCSS
$custom: #1d135e;
$custom-light: #63528d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d135e",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 248,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26138,
    "c": 0.12493,
    "h": 279.3
  },
  "luminance": 0.01535
}

Semantic roles & 50–950 ramp

primary
#1D135E
secondary
#899637
accent
#E93FD3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D135E

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

Preview Lab → · Contrast checker → · Palette generator →

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