#1D309D#1D309D

#1D309D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.176 H 268.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#1D309D
RGBrgb(29, 48, 157)
HSLhsl(231, 69%, 36%)
HSVhsv(231, 82%, 62%)
CMYKcmyk(81.5%, 69.4%, 0%, 38.4%)
CIE-LABlab(26.18, 34.03, -60.82)
CIE-LCHlch(26.18, 69.69, 299.23°)
OKLaboklab(37.73% -0.0058 -0.1762)
OKLCHoklch(37.73% 0.176 268.1)
XYZxyz(7.6473, 4.8085, 32.4168)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D309D #9D8A1D
analogous
#1D709D #1D309D #4A1D9D
triadic
#1D309D #9D1D30 #309D1D
tetradic
#1D309D #9D1D70 #9D8A1D #1D9D4A
square
#1D309D #9D1D70 #9D8A1D #1D9D4A
split-complementary
#1D309D #9D4A1D #709D1D
monochromatic
#0A1036 #132069 #1D309D #2740D1 #5569E0

Accessibility & contrast

On white

10.70
#1D309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1D309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D309D
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D309D#FFFFFF#000000##FFFFFF
##1D309D1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d309d;
/* rgb */ color: rgb(29, 48, 157);
/* oklch */ color: oklch(37.7% 0.176 268.1);
Tailwind
colors: {
  custom: {
    50: '#7168bb',
    500: '#1d309d',
    950: '#000000',
  },
}
SCSS
$custom: #1d309d;
$custom-light: #7168bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d309d",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 231.094,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37729,
    "c": 0.17628,
    "h": 268.1
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#1D309D
secondary
#C3B253
accent
#D23CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1D309D

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

Preview Lab → · Contrast checker → · Palette generator →

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