#1D368C#1D368C

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

Color values

HEX#1D368C
RGBrgb(29, 54, 140)
HSLhsl(226, 66%, 33%)
HSVhsv(226, 79%, 55%)
CMYKcmyk(79.3%, 61.4%, 0%, 45.1%)
CIE-LABlab(26.13, 23.46, -50.45)
CIE-LCHlch(26.13, 55.64, 294.94°)
OKLaboklab(37.21% -0.0086 -0.1458)
OKLCHoklch(37.21% 0.146 266.6)
XYZxyz(6.5578, 4.7923, 25.3852)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D368C #8C731D
analogous
#1D6D8C #1D368C #3B1D8C
triadic
#1D368C #8C1D36 #368C1D
tetradic
#1D368C #8C1D6D #8C731D #1D8C3B
square
#1D368C #8C1D6D #8C731D #1D8C3B
split-complementary
#1D368C #8C3B1D #6D8C1D
monochromatic
#080F27 #122259 #1D368C #284ABF #4A6AD9

Accessibility & contrast

On white

10.72
#1D368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D368C
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D368C#FFFFFF#000000##FFFFFF
##1D368C1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d368c;
/* rgb */ color: rgb(29, 54, 140);
/* oklch */ color: oklch(37.2% 0.146 266.6);
Tailwind
colors: {
  custom: {
    50: '#6c6cae',
    500: '#1d368c',
    950: '#000000',
  },
}
SCSS
$custom: #1d368c;
$custom-light: #6c6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d368c",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 226.486,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37209,
    "c": 0.14604,
    "h": 266.6
  },
  "luminance": 0.04793
}

Semantic roles & 50–950 ramp

primary
#1D368C
secondary
#BCA249
accent
#C23FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1D368C

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

Preview Lab → · Contrast checker → · Palette generator →

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