#1D368A#1D368A

#1D368A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.143 H 266.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#1D368A
RGBrgb(29, 54, 138)
HSLhsl(226, 65%, 33%)
HSVhsv(226, 79%, 54%)
CMYKcmyk(79%, 60.9%, 0%, 45.9%)
CIE-LABlab(25.96, 22.67, -49.49)
CIE-LCHlch(25.96, 54.43, 294.61°)
OKLaboklab(37.03% -0.0087 -0.143)
OKLCHoklch(37.03% 0.143 266.5)
XYZxyz(6.4117, 4.7338, 24.6156)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D368A #8A711D
analogous
#1D6C8A #1D368A #3B1D8A
triadic
#1D368A #8A1D36 #368A1D
tetradic
#1D368A #8A1D6C #8A711D #1D8A3B
square
#1D368A #8A1D6C #8A711D #1D8A3B
split-complementary
#1D368A #8A3B1D #6C8A1D
monochromatic
#080E25 #122257 #1D368A #284ABD #496AD9

Accessibility & contrast

On white

10.79
#1D368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D368A
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D368A#FFFFFF#000000##FFFFFF
##1D368A1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d368a;
/* rgb */ color: rgb(29, 54, 138);
/* oklch */ color: oklch(37.0% 0.143 266.5);
Tailwind
colors: {
  custom: {
    50: '#6b6cad',
    500: '#1d368a',
    950: '#000000',
  },
}
SCSS
$custom: #1d368a;
$custom-light: #6b6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d368a",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 226.239,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37027,
    "c": 0.14322,
    "h": 266.5
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#1D368A
secondary
#BBA048
accent
#C240E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1D368A

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

Preview Lab → · Contrast checker → · Palette generator →

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