#1D399C#1D399C

#1D399C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.164 H 266.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#1D399C
RGBrgb(29, 57, 156)
HSLhsl(227, 69%, 36%)
HSVhsv(227, 81%, 61%)
CMYKcmyk(81.4%, 63.5%, 0%, 38.8%)
CIE-LABlab(28.35, 27.69, -56.66)
CIE-LCHlch(28.35, 63.06, 296.05°)
OKLaboklab(39.29% -0.0105 -0.164)
OKLCHoklch(39.29% 0.164 266.3)
XYZxyz(7.9685, 5.5868, 32.1044)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D399C #9C801D
analogous
#1D799C #1D399C #411D9C
triadic
#1D399C #9C1D39 #399C1D
tetradic
#1D399C #9C1D79 #9C801D #1D9C41
square
#1D399C #9C1D79 #9C801D #1D9C41
split-complementary
#1D399C #9C411D #799C1D
monochromatic
#0A1335 #132668 #1D399C #274CD0 #5473DF

Accessibility & contrast

On white

9.92
#1D399C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1D399C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D399C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D399C#FFFFFF#000000##FFFFFF
##1D399C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d399c;
/* rgb */ color: rgb(29, 57, 156);
/* oklch */ color: oklch(39.3% 0.164 266.3);
Tailwind
colors: {
  custom: {
    50: '#706fba',
    500: '#1d399c',
    950: '#000000',
  },
}
SCSS
$custom: #1d399c;
$custom-light: #706fba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d399c",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 226.772,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39287,
    "c": 0.16429,
    "h": 266.3
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#1D399C
secondary
#C2AA52
accent
#C53CEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1D399C

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

Preview Lab → · Contrast checker → · Palette generator →

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