#1D387B#1D387B

#1D387B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.119 H 264.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#1D387B
RGBrgb(29, 56, 123)
HSLhsl(223, 62%, 30%)
HSVhsv(223, 76%, 48%)
CMYKcmyk(76.4%, 54.5%, 0%, 51.8%)
CIE-LABlab(25.32, 15.24, -41.14)
CIE-LCHlch(25.32, 43.88, 290.32°)
OKLaboklab(36.16% -0.0112 -0.1184)
OKLCHoklch(36.16% 0.119 264.6)
XYZxyz(5.4948, 4.5190, 19.3177)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D387B #7B601D
analogous
#1D677B #1D387B #311D7B
triadic
#1D387B #7B1D38 #387B1D
tetradic
#1D387B #7B1D67 #7B601D #1D7B31
square
#1D387B #7B1D67 #7B601D #1D7B31
split-complementary
#1D387B #7B311D #677B1D
monochromatic
#060B19 #112149 #1D387B #294FAD #406AD2

Accessibility & contrast

On white

11.03
#1D387B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1D387B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D387B
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D387B#FFFFFF#000000##FFFFFF
##1D387B1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A417D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d387b;
/* rgb */ color: rgb(29, 56, 123);
/* oklch */ color: oklch(36.2% 0.119 264.6);
Tailwind
colors: {
  custom: {
    50: '#676ea2',
    500: '#1d387b',
    950: '#000000',
  },
}
SCSS
$custom: #1d387b;
$custom-light: #676ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d387b",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 222.766,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3616,
    "c": 0.11893,
    "h": 264.6
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#1D387B
secondary
#AF9045
accent
#B643E5
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1D387B

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

Preview Lab → · Contrast checker → · Palette generator →

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