#1D137F#1D137F

#1D137F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.167 H 273.8°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#1D137F
RGBrgb(29, 19, 127)
HSLhsl(246, 74%, 29%)
HSVhsv(246, 85%, 50%)
CMYKcmyk(77.2%, 85%, 0%, 50.2%)
CIE-LABlab(16.79, 40.46, -57.66)
CIE-LCHlch(16.79, 70.44, 305.06°)
OKLaboklab(30.07% 0.0111 -0.1668)
OKLCHoklch(30.07% 0.167 273.8)
XYZxyz(4.5691, 2.2588, 20.2697)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D137F #757F13
analogous
#133F7F #1D137F #53137F
triadic
#1D137F #7F1D13 #137F1D
tetradic
#1D137F #7F133F #757F13 #137F53
square
#1D137F #7F133F #757F13 #137F53
split-complementary
#1D137F #7F5313 #3F7F13
monochromatic
#06041B #110B4A #1D137F #291BB4 #3D2DE0

Accessibility & contrast

On white

14.46
#1D137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1D137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D137F
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D137F#FFFFFF#000000##FFFFFF
##1D137F1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d137f;
/* rgb */ color: rgb(29, 19, 127);
/* oklch */ color: oklch(30.1% 0.167 273.8);
Tailwind
colors: {
  custom: {
    50: '#6c55a5',
    500: '#1d137f',
    950: '#000000',
  },
}
SCSS
$custom: #1d137f;
$custom-light: #6c55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d137f",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 245.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30065,
    "c": 0.16714,
    "h": 273.8
  },
  "luminance": 0.02259
}

Semantic roles & 50–950 ramp

primary
#1D137F
secondary
#A9B439
accent
#F137DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1D137F

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

Preview Lab → · Contrast checker → · Palette generator →

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