#1D137B#1D137B

#1D137B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.162 H 274.3°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#1D137B
RGBrgb(29, 19, 123)
HSLhsl(246, 73%, 28%)
HSVhsv(246, 85%, 48%)
CMYKcmyk(76.4%, 84.6%, 0%, 51.8%)
CIE-LABlab(16.29, 39.17, -55.94)
CIE-LCHlch(16.29, 68.29, 305.00°)
OKLaboklab(29.57% 0.0122 -0.1618)
OKLCHoklch(29.57% 0.162 274.3)
XYZxyz(4.3135, 2.1566, 18.9240)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D137B #717B13
analogous
#133D7B #1D137B #51137B
triadic
#1D137B #7B1D13 #137B1D
tetradic
#1D137B #7B133D #717B13 #137B51
square
#1D137B #7B133D #717B13 #137B51
split-complementary
#1D137B #7B5113 #3D7B13
monochromatic
#06041B #110B46 #1D137B #291BB0 #3C2ADE

Accessibility & contrast

On white

14.67
#1D137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1D137B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D137B
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D137B#FFFFFF#000000##FFFFFF
##1D137B1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002379
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d137b;
/* rgb */ color: rgb(29, 19, 123);
/* oklch */ color: oklch(29.6% 0.162 274.3);
Tailwind
colors: {
  custom: {
    50: '#6b54a2',
    500: '#1d137b',
    950: '#000000',
  },
}
SCSS
$custom: #1d137b;
$custom-light: #6b54a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d137b",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 245.769,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29573,
    "c": 0.16224,
    "h": 274.3
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#1D137B
secondary
#A5B139
accent
#F038DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1D137B

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

Preview Lab → · Contrast checker → · Palette generator →

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