#1D368E#1D368E

#1D368E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.149 H 266.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#1D368E
RGBrgb(29, 54, 142)
HSLhsl(227, 66%, 34%)
HSVhsv(227, 80%, 56%)
CMYKcmyk(79.6%, 62%, 0%, 44.3%)
CIE-LABlab(26.31, 24.25, -51.40)
CIE-LCHlch(26.31, 56.84, 295.26°)
OKLaboklab(37.39% -0.0086 -0.1486)
OKLCHoklch(37.39% 0.149 266.7)
XYZxyz(6.7066, 4.8518, 26.1690)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D368E #8E751D
analogous
#1D6E8E #1D368E #3C1D8E
triadic
#1D368E #8E1D36 #368E1D
tetradic
#1D368E #8E1D6E #8E751D #1D8E3C
square
#1D368E #8E1D6E #8E751D #1D8E3C
split-complementary
#1D368E #8E3C1D #6E8E1D
monochromatic
#080F28 #13235B #1D368E #2749C1 #4B6BDA

Accessibility & contrast

On white

10.66
#1D368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1D368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D368E
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D368E#FFFFFF#000000##FFFFFF
##1D368E1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d368e;
/* rgb */ color: rgb(29, 54, 142);
/* oklch */ color: oklch(37.4% 0.149 266.7);
Tailwind
colors: {
  custom: {
    50: '#6c6cb0',
    500: '#1d368e',
    950: '#000000',
  },
}
SCSS
$custom: #1d368e;
$custom-light: #6c6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d368e",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 226.726,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37392,
    "c": 0.14883,
    "h": 266.7
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#1D368E
secondary
#BDA34A
accent
#C33FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D368E

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

Preview Lab → · Contrast checker → · Palette generator →

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