#1D367E#1D367E

#1D367E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.126 H 265.8°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#1D367E
RGBrgb(29, 54, 126)
HSLhsl(225, 63%, 30%)
HSVhsv(225, 77%, 49%)
CMYKcmyk(77%, 57.1%, 0%, 50.6%)
CIE-LABlab(24.97, 17.86, -43.60)
CIE-LCHlch(24.97, 47.12, 292.28°)
OKLaboklab(35.97% -0.0092 -0.1257)
OKLCHoklch(35.97% 0.126 265.8)
XYZxyz(5.5904, 4.4053, 20.2903)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D367E #7E651D
analogous
#1D667E #1D367E #341D7E
triadic
#1D367E #7E1D36 #367E1D
tetradic
#1D367E #7E1D66 #7E651D #1D7E34
square
#1D367E #7E1D66 #7E651D #1D7E34
split-complementary
#1D367E #7E341D #667E1D
monochromatic
#060B1B #12214C #1D367E #284BB0 #4267D3

Accessibility & contrast

On white

11.16
#1D367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1D367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D367E
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D367E#FFFFFF#000000##FFFFFF
##1D367E1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d367e;
/* rgb */ color: rgb(29, 54, 126);
/* oklch */ color: oklch(36.0% 0.126 265.8);
Tailwind
colors: {
  custom: {
    50: '#686ca4',
    500: '#1d367e',
    950: '#000000',
  },
}
SCSS
$custom: #1d367e;
$custom-light: #686ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d367e",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 224.536,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3597,
    "c": 0.12601,
    "h": 265.8
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

primary
#1D367E
secondary
#B19645
accent
#BC42E6
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1D367E

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

Preview Lab → · Contrast checker → · Palette generator →

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