#1D386E#1D386E

#1D386E is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.099 H 262.5°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#1D386E
RGBrgb(29, 56, 110)
HSLhsl(220, 58%, 27%)
HSVhsv(220, 74%, 43%)
CMYKcmyk(73.6%, 49.1%, 0%, 56.9%)
CIE-LABlab(24.37, 9.96, -34.40)
CIE-LCHlch(24.37, 35.82, 286.15°)
OKLaboklab(35.13% -0.013 -0.0986)
OKLCHoklch(35.13% 0.099 262.5)
XYZxyz(4.7343, 4.2149, 15.3129)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D386E #6E531D
analogous
#1D616E #1D386E #2B1D6E
triadic
#1D386E #6E1D38 #386E1D
tetradic
#1D386E #6E1D61 #6E531D #1D6E2B
square
#1D386E #6E1D61 #6E531D #1D6E2B
split-complementary
#1D386E #6E2B1D #616E1D
monochromatic
#060C18 #101F3E #1D386E #2A519E #3A6BCB

Accessibility & contrast

On white

11.39
#1D386E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1D386E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D386E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D386E#FFFFFF#000000##FFFFFF
##1D386E1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E70
Deuteranopia (green-blind)
#0A366D
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d386e;
/* rgb */ color: rgb(29, 56, 110);
/* oklch */ color: oklch(35.1% 0.099 262.5);
Tailwind
colors: {
  custom: {
    50: '#646e98',
    500: '#1d386e',
    950: '#000000',
  },
}
SCSS
$custom: #1d386e;
$custom-light: #646e98;
$custom-dark: #000000;
JSON
{
  "hex": "#1d386e",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 110
  },
  "hsl": {
    "h": 220,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35133,
    "c": 0.09943,
    "h": 262.5
  },
  "luminance": 0.04215
}

Semantic roles & 50–950 ramp

primary
#1D386E
secondary
#A28344
accent
#AE46E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1D386E

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

Preview Lab → · Contrast checker → · Palette generator →

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