#1D388C#1D388C

#1D388C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.143 H 266.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#1D388C
RGBrgb(29, 56, 140)
HSLhsl(225, 66%, 33%)
HSVhsv(225, 79%, 55%)
CMYKcmyk(79.3%, 60%, 0%, 45.1%)
CIE-LABlab(26.68, 22.08, -49.55)
CIE-LCHlch(26.68, 54.25, 294.01°)
OKLaboklab(37.62% -0.01 -0.1431)
OKLCHoklch(37.62% 0.143 266)
XYZxyz(6.6528, 4.9823, 25.4169)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D388C #8C711D
analogous
#1D6F8C #1D388C #391D8C
triadic
#1D388C #8C1D38 #388C1D
tetradic
#1D388C #8C1D6F #8C711D #1D8C39
square
#1D388C #8C1D6F #8C711D #1D8C39
split-complementary
#1D388C #8C391D #6F8C1D
monochromatic
#080F27 #122459 #1D388C #284CBF #4A6DD9

Accessibility & contrast

On white

10.52
#1D388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1D388C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D388C
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D388C#FFFFFF#000000##FFFFFF
##1D388C1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d388c;
/* rgb */ color: rgb(29, 56, 140);
/* oklch */ color: oklch(37.6% 0.143 266.0);
Tailwind
colors: {
  custom: {
    50: '#6c6eae',
    500: '#1d388c',
    950: '#000000',
  },
}
SCSS
$custom: #1d388c;
$custom-light: #6c6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d388c",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 225.405,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37619,
    "c": 0.14347,
    "h": 266
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#1D388C
secondary
#BCA049
accent
#BF3FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1D388C

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

Preview Lab → · Contrast checker → · Palette generator →

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