#1D399A#1D399A

#1D399A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.162 H 266.3°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#1D399A
RGBrgb(29, 57, 154)
HSLhsl(227, 68%, 36%)
HSVhsv(227, 81%, 60%)
CMYKcmyk(81.2%, 63%, 0%, 39.6%)
CIE-LABlab(28.17, 26.91, -55.73)
CIE-LCHlch(28.17, 61.89, 295.78°)
OKLaboklab(39.1% -0.0105 -0.1612)
OKLCHoklch(39.1% 0.162 266.3)
XYZxyz(7.8005, 5.5196, 31.2199)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D399A #9A7E1D
analogous
#1D779A #1D399A #3F1D9A
triadic
#1D399A #9A1D39 #399A1D
tetradic
#1D399A #9A1D77 #9A7E1D #1D9A3F
square
#1D399A #9A1D77 #9A7E1D #1D9A3F
split-complementary
#1D399A #9A3F1D #779A1D
monochromatic
#0A1333 #132666 #1D399A #274CCE #5372DF

Accessibility & contrast

On white

9.98
#1D399A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1D399A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D399A
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D399A#FFFFFF#000000##FFFFFF
##1D399A1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d399a;
/* rgb */ color: rgb(29, 57, 154);
/* oklch */ color: oklch(39.1% 0.162 266.3);
Tailwind
colors: {
  custom: {
    50: '#6f6fb9',
    500: '#1d399a',
    950: '#000000',
  },
}
SCSS
$custom: #1d399a;
$custom-light: #6f6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d399a",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 226.56,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.391,
    "c": 0.16158,
    "h": 266.3
  },
  "luminance": 0.05521
}

Semantic roles & 50–950 ramp

primary
#1D399A
secondary
#C2A851
accent
#C43DEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1D399A

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

Preview Lab → · Contrast checker → · Palette generator →

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