#1D135C#1D135C

#1D135C is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.122 H 279.8°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#1D135C
RGBrgb(29, 19, 92)
HSLhsl(248, 66%, 22%)
HSVhsv(248, 79%, 36%)
CMYKcmyk(68.5%, 79.3%, 0%, 63.9%)
CIE-LABlab(12.60, 28.71, -41.73)
CIE-LCHlch(12.60, 50.65, 304.53°)
OKLaboklab(25.91% 0.0208 -0.1204)
OKLCHoklch(25.91% 0.122 279.8)
XYZxyz(2.6707, 1.4995, 10.2718)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D135C #525C13
analogous
#132E5C #1D135C #42135C
triadic
#1D135C #5C1D13 #135C1D
tetradic
#1D135C #5C132E #525C13 #135C42
square
#1D135C #5C132E #525C13 #135C42
split-complementary
#1D135C #5C4213 #2E5C13
monochromatic
#080519 #0D0929 #1D135C #2D1D8F #3D28C1

Accessibility & contrast

On white

16.15
#1D135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D135C
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D135C#FFFFFF#000000##FFFFFF
##1D135C1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#001E5B
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1d135c;
/* rgb */ color: rgb(29, 19, 92);
/* oklch */ color: oklch(25.9% 0.122 279.8);
Tailwind
colors: {
  custom: {
    50: '#63528b',
    500: '#1d135c',
    950: '#000000',
  },
}
SCSS
$custom: #1d135c;
$custom-light: #63528b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d135c",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 248.219,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25913,
    "c": 0.12221,
    "h": 279.8
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#1D135C
secondary
#879437
accent
#E93FD1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D135C

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

Preview Lab → · Contrast checker → · Palette generator →

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