#1D336E#1D336E

#1D336E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.106 H 265.6°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#1D336E
RGBrgb(29, 51, 110)
HSLhsl(224, 58%, 27%)
HSVhsv(224, 74%, 43%)
CMYKcmyk(73.6%, 53.6%, 0%, 56.9%)
CIE-LABlab(22.84, 13.51, -36.86)
CIE-LCHlch(22.84, 39.26, 290.13°)
OKLaboklab(33.97% -0.0081 -0.1059)
OKLCHoklch(33.97% 0.106 265.6)
XYZxyz(4.5040, 3.7542, 15.2361)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D336E #6E581D
analogous
#1D5B6E #1D336E #301D6E
triadic
#1D336E #6E1D33 #336E1D
tetradic
#1D336E #6E1D5B #6E581D #1D6E30
square
#1D336E #6E1D5B #6E581D #1D6E30
split-complementary
#1D336E #6E301D #5B6E1D
monochromatic
#060B18 #101D3E #1D336E #2A499E #3A62CB

Accessibility & contrast

On white

11.99
#1D336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1D336E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D336E
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D336E#FFFFFF#000000##FFFFFF
##1D336E1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3A70
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d336e;
/* rgb */ color: rgb(29, 51, 110);
/* oklch */ color: oklch(34.0% 0.106 265.6);
Tailwind
colors: {
  custom: {
    50: '#646a98',
    500: '#1d336e',
    950: '#000000',
  },
}
SCSS
$custom: #1d336e;
$custom-light: #646a98;
$custom-dark: #000000;
JSON
{
  "hex": "#1d336e",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 223.704,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33967,
    "c": 0.10621,
    "h": 265.6
  },
  "luminance": 0.03755
}

Semantic roles & 50–950 ramp

primary
#1D336E
secondary
#A28944
accent
#B746E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1D336E

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

Preview Lab → · Contrast checker → · Palette generator →

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