#1D367F#1D367F

#1D367F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.127 H 265.9°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#1D367F
RGBrgb(29, 54, 127)
HSLhsl(225, 63%, 31%)
HSVhsv(225, 77%, 50%)
CMYKcmyk(77.2%, 57.5%, 0%, 50.2%)
CIE-LABlab(25.05, 18.26, -44.10)
CIE-LCHlch(25.05, 47.73, 292.50°)
OKLaboklab(36.06% -0.0092 -0.1271)
OKLCHoklch(36.06% 0.127 265.9)
XYZxyz(5.6553, 4.4312, 20.6318)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D367F #7F661D
analogous
#1D677F #1D367F #351D7F
triadic
#1D367F #7F1D36 #367F1D
tetradic
#1D367F #7F1D67 #7F661D #1D7F35
square
#1D367F #7F1D67 #7F661D #1D7F35
split-complementary
#1D367F #7F351D #677F1D
monochromatic
#060C1B #12214D #1D367F #284BB1 #4268D4

Accessibility & contrast

On white

11.13
#1D367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1D367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D367F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D367F#FFFFFF#000000##FFFFFF
##1D367F1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d367f;
/* rgb */ color: rgb(29, 54, 127);
/* oklch */ color: oklch(36.1% 0.127 265.9);
Tailwind
colors: {
  custom: {
    50: '#696ca5',
    500: '#1d367f',
    950: '#000000',
  },
}
SCSS
$custom: #1d367f;
$custom-light: #696ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d367f",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 224.694,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36056,
    "c": 0.12747,
    "h": 265.9
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#1D367F
secondary
#B29745
accent
#BC42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1D367F

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

Preview Lab → · Contrast checker → · Palette generator →

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