#1D3E9F#1D3E9F

#1D3E9F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.162 H 265.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#1D3E9F
RGBrgb(29, 62, 159)
HSLhsl(225, 69%, 37%)
HSVhsv(225, 82%, 62%)
CMYKcmyk(81.8%, 61%, 0%, 37.6%)
CIE-LABlab(29.93, 25.48, -55.88)
CIE-LCHlch(29.93, 61.42, 294.51°)
OKLaboklab(40.55% -0.0134 -0.1616)
OKLCHoklch(40.55% 0.162 265.2)
XYZxyz(8.4851, 6.2087, 33.5454)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E9F #9F7E1D
analogous
#1D7F9F #1D3E9F #3D1D9F
triadic
#1D3E9F #9F1D3E #3E9F1D
tetradic
#1D3E9F #9F1D7F #9F7E1D #1D9F3D
square
#1D3E9F #9F1D7F #9F7E1D #1D9F3D
split-complementary
#1D3E9F #9F3D1D #7F9F1D
monochromatic
#0A1637 #142A6B #1D3E9F #2652D3 #5679E0

Accessibility & contrast

On white

9.37
#1D3E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1D3E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E9F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E9F#FFFFFF#000000##FFFFFF
##1D3E9F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d3e9f;
/* rgb */ color: rgb(29, 62, 159);
/* oklch */ color: oklch(40.5% 0.162 265.2);
Tailwind
colors: {
  custom: {
    50: '#7072bc',
    500: '#1d3e9f',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e9f;
$custom-light: #7072bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e9f",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 224.769,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40548,
    "c": 0.16217,
    "h": 265.2
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#1D3E9F
secondary
#C4A754
accent
#BF3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D3E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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