#1D136C#1D136C

#1D136C is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.143 H 276.6°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#1D136C
RGBrgb(29, 19, 108)
HSLhsl(247, 70%, 25%)
HSVhsv(247, 82%, 42%)
CMYKcmyk(73.1%, 82.4%, 0%, 57.6%)
CIE-LABlab(14.45, 34.22, -49.28)
CIE-LCHlch(14.45, 59.99, 304.77°)
OKLaboklab(27.76% 0.0165 -0.1424)
OKLCHoklch(27.76% 0.143 276.6)
XYZxyz(3.4455, 1.8093, 14.3521)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D136C #626C13
analogous
#13356C #1D136C #4A136C
triadic
#1D136C #6C1D13 #136C1D
tetradic
#1D136C #6C1335 #626C13 #136C4A
square
#1D136C #6C1335 #626C13 #136C4A
split-complementary
#1D136C #6C4A13 #356C13
monochromatic
#07051A #0F0A38 #1D136C #2B1CA0 #3925D4

Accessibility & contrast

On white

15.42
#1D136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1D136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D136C
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D136C#FFFFFF#000000##FFFFFF
##1D136C1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d136c;
/* rgb */ color: rgb(29, 19, 108);
/* oklch */ color: oklch(27.8% 0.143 276.6);
Tailwind
colors: {
  custom: {
    50: '#675397',
    500: '#1d136c',
    950: '#000000',
  },
}
SCSS
$custom: #1d136c;
$custom-light: #675397;
$custom-dark: #000000;
JSON
{
  "hex": "#1d136c",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 246.742,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27761,
    "c": 0.14338,
    "h": 276.6
  },
  "luminance": 0.0181
}

Semantic roles & 50–950 ramp

primary
#1D136C
secondary
#97A338
accent
#ED3BD9
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1D136C

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

Preview Lab → · Contrast checker → · Palette generator →

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