#1D137D#1D137D

#1D137D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.165 H 274.0°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#1D137D
RGBrgb(29, 19, 125)
HSLhsl(246, 74%, 28%)
HSVhsv(246, 85%, 49%)
CMYKcmyk(76.8%, 84.8%, 0%, 51%)
CIE-LABlab(16.54, 39.82, -56.81)
CIE-LCHlch(16.54, 69.37, 305.03°)
OKLaboklab(29.82% 0.0116 -0.1643)
OKLCHoklch(29.82% 0.165 274)
XYZxyz(4.4400, 2.2072, 19.5901)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D137D #737D13
analogous
#133E7D #1D137D #52137D
triadic
#1D137D #7D1D13 #137D1D
tetradic
#1D137D #7D133E #737D13 #137D52
square
#1D137D #7D133E #737D13 #137D52
split-complementary
#1D137D #7D5213 #3E7D13
monochromatic
#06041B #110B48 #1D137D #291BB2 #3C2CDF

Accessibility & contrast

On white

14.57
#1D137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1D137D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D137D
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D137D#FFFFFF#000000##FFFFFF
##1D137D1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d137d;
/* rgb */ color: rgb(29, 19, 125);
/* oklch */ color: oklch(29.8% 0.165 274.0);
Tailwind
colors: {
  custom: {
    50: '#6b54a4',
    500: '#1d137d',
    950: '#000000',
  },
}
SCSS
$custom: #1d137d;
$custom-light: #6b54a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d137d",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 245.66,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29819,
    "c": 0.16469,
    "h": 274
  },
  "luminance": 0.02208
}

Semantic roles & 50–950 ramp

primary
#1D137D
secondary
#A7B339
accent
#F038DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1D137D

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

Preview Lab → · Contrast checker → · Palette generator →

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