#1D368B#1D368B

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

Color values

HEX#1D368B
RGBrgb(29, 54, 139)
HSLhsl(226, 65%, 33%)
HSVhsv(226, 79%, 55%)
CMYKcmyk(79.1%, 61.2%, 0%, 45.5%)
CIE-LABlab(26.05, 23.06, -49.97)
CIE-LCHlch(26.05, 55.03, 294.78°)
OKLaboklab(37.12% -0.0087 -0.1444)
OKLCHoklch(37.12% 0.145 266.6)
XYZxyz(6.4844, 4.7629, 24.9987)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D368B #8B721D
analogous
#1D6D8B #1D368B #3B1D8B
triadic
#1D368B #8B1D36 #368B1D
tetradic
#1D368B #8B1D6D #8B721D #1D8B3B
square
#1D368B #8B1D6D #8B721D #1D8B3B
split-complementary
#1D368B #8B3B1D #6D8B1D
monochromatic
#080F26 #122258 #1D368B #284ABE #496AD9

Accessibility & contrast

On white

10.75
#1D368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1D368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D368B
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D368B#FFFFFF#000000##FFFFFF
##1D368B1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d368b;
/* rgb */ color: rgb(29, 54, 139);
/* oklch */ color: oklch(37.1% 0.145 266.6);
Tailwind
colors: {
  custom: {
    50: '#6c6cae',
    500: '#1d368b',
    950: '#000000',
  },
}
SCSS
$custom: #1d368b;
$custom-light: #6c6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d368b",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 226.364,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37118,
    "c": 0.14464,
    "h": 266.6
  },
  "luminance": 0.04764
}

Semantic roles & 50–950 ramp

primary
#1D368B
secondary
#BBA149
accent
#C23FE8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1D368B

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

Preview Lab → · Contrast checker → · Palette generator →

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