#1D368F#1D368F

#1D368F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.150 H 266.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#1D368F
RGBrgb(29, 54, 143)
HSLhsl(227, 66%, 34%)
HSVhsv(227, 80%, 56%)
CMYKcmyk(79.7%, 62.2%, 0%, 43.9%)
CIE-LABlab(26.40, 24.65, -51.88)
CIE-LCHlch(26.40, 57.43, 295.41°)
OKLaboklab(37.48% -0.0086 -0.15)
OKLCHoklch(37.48% 0.15 266.7)
XYZxyz(6.7821, 4.8819, 26.5661)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D368F #8F761D
analogous
#1D6F8F #1D368F #3D1D8F
triadic
#1D368F #8F1D36 #368F1D
tetradic
#1D368F #8F1D6F #8F761D #1D8F3D
square
#1D368F #8F1D6F #8F761D #1D8F3D
split-complementary
#1D368F #8F3D1D #6F8F1D
monochromatic
#081029 #13235C #1D368F #2749C2 #4C6BDB

Accessibility & contrast

On white

10.62
#1D368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1D368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D368F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D368F#FFFFFF#000000##FFFFFF
##1D368F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d368f;
/* rgb */ color: rgb(29, 54, 143);
/* oklch */ color: oklch(37.5% 0.150 266.7);
Tailwind
colors: {
  custom: {
    50: '#6d6cb1',
    500: '#1d368f',
    950: '#000000',
  },
}
SCSS
$custom: #1d368f;
$custom-light: #6d6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d368f",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 226.842,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37484,
    "c": 0.15023,
    "h": 266.7
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#1D368F
secondary
#BDA44B
accent
#C43FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D368F

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

Preview Lab → · Contrast checker → · Palette generator →

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