#1D339A#1D339A

#1D339A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.169 H 267.6°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#1D339A
RGBrgb(29, 51, 154)
HSLhsl(229, 68%, 36%)
HSVhsv(229, 81%, 60%)
CMYKcmyk(81.2%, 66.9%, 0%, 39.6%)
CIE-LABlab(26.62, 30.94, -58.26)
CIE-LCHlch(26.62, 65.97, 297.97°)
OKLaboklab(37.96% -0.0071 -0.1687)
OKLCHoklch(37.96% 0.169 267.6)
XYZxyz(7.5212, 4.9611, 31.1268)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D339A #9A841D
analogous
#1D719A #1D339A #451D9A
triadic
#1D339A #9A1D33 #339A1D
tetradic
#1D339A #9A1D71 #9A841D #1D9A45
square
#1D339A #9A1D71 #9A841D #1D9A45
split-complementary
#1D339A #9A451D #719A1D
monochromatic
#0A1133 #132266 #1D339A #2744CE #536BDF

Accessibility & contrast

On white

10.54
#1D339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1D339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D339A
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D339A#FFFFFF#000000##FFFFFF
##1D339A1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d339a;
/* rgb */ color: rgb(29, 51, 154);
/* oklch */ color: oklch(38.0% 0.169 267.6);
Tailwind
colors: {
  custom: {
    50: '#706ab9',
    500: '#1d339a',
    950: '#000000',
  },
}
SCSS
$custom: #1d339a;
$custom-light: #706ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d339a",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 229.44,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37962,
    "c": 0.16885,
    "h": 267.6
  },
  "luminance": 0.04962
}

Semantic roles & 50–950 ramp

primary
#1D339A
secondary
#C2AE51
accent
#CC3DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1D339A

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

Preview Lab → · Contrast checker → · Palette generator →

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