#1D368D#1D368D

#1D368D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.147 H 266.6°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#1D368D
RGBrgb(29, 54, 141)
HSLhsl(227, 66%, 33%)
HSVhsv(227, 79%, 55%)
CMYKcmyk(79.4%, 61.7%, 0%, 44.7%)
CIE-LABlab(26.22, 23.86, -50.93)
CIE-LCHlch(26.22, 56.24, 295.10°)
OKLaboklab(37.3% -0.0086 -0.1472)
OKLCHoklch(37.3% 0.147 266.6)
XYZxyz(6.6319, 4.8219, 25.7753)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D368D #8D741D
analogous
#1D6E8D #1D368D #3C1D8D
triadic
#1D368D #8D1D36 #368D1D
tetradic
#1D368D #8D1D6E #8D741D #1D8D3C
square
#1D368D #8D1D6E #8D741D #1D8D3C
split-complementary
#1D368D #8D3C1D #6E8D1D
monochromatic
#080F27 #13235A #1D368D #2749C0 #4B6BDA

Accessibility & contrast

On white

10.69
#1D368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1D368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D368D
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D368D#FFFFFF#000000##FFFFFF
##1D368D1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d368d;
/* rgb */ color: rgb(29, 54, 141);
/* oklch */ color: oklch(37.3% 0.147 266.6);
Tailwind
colors: {
  custom: {
    50: '#6c6caf',
    500: '#1d368d',
    950: '#000000',
  },
}
SCSS
$custom: #1d368d;
$custom-light: #6c6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d368d",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 226.607,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.373,
    "c": 0.14743,
    "h": 266.6
  },
  "luminance": 0.04823
}

Semantic roles & 50–950 ramp

primary
#1D368D
secondary
#BCA34A
accent
#C33FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1D368D

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

Preview Lab → · Contrast checker → · Palette generator →

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