#1D137C#1D137C

#1D137C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.163 H 274.2°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#1D137C
RGBrgb(29, 19, 124)
HSLhsl(246, 73%, 28%)
HSVhsv(246, 85%, 49%)
CMYKcmyk(76.6%, 84.7%, 0%, 51.4%)
CIE-LABlab(16.41, 39.50, -56.38)
CIE-LCHlch(16.41, 68.84, 305.02°)
OKLaboklab(29.7% 0.0119 -0.163)
OKLCHoklch(29.7% 0.163 274.2)
XYZxyz(4.3765, 2.1817, 19.2553)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D137C #727C13
analogous
#133D7C #1D137C #51137C
triadic
#1D137C #7C1D13 #137C1D
tetradic
#1D137C #7C133D #727C13 #137C51
square
#1D137C #7C133D #727C13 #137C51
split-complementary
#1D137C #7C5113 #3D7C13
monochromatic
#06041B #110B47 #1D137C #291BB1 #3C2BDF

Accessibility & contrast

On white

14.62
#1D137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D137C
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D137C#FFFFFF#000000##FFFFFF
##1D137C1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d137c;
/* rgb */ color: rgb(29, 19, 124);
/* oklch */ color: oklch(29.7% 0.163 274.2);
Tailwind
colors: {
  custom: {
    50: '#6b54a3',
    500: '#1d137c',
    950: '#000000',
  },
}
SCSS
$custom: #1d137c;
$custom-light: #6b54a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d137c",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 245.714,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29696,
    "c": 0.16347,
    "h": 274.2
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D137C

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

Preview Lab → · Contrast checker → · Palette generator →

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