#1D3F9B#1D3F9B

#1D3F9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.155 H 264.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#1D3F9B
RGBrgb(29, 63, 155)
HSLhsl(224, 68%, 36%)
HSVhsv(224, 81%, 61%)
CMYKcmyk(81.3%, 59.4%, 0%, 39.2%)
CIE-LABlab(29.87, 23.22, -53.57)
CIE-LCHlch(29.87, 58.38, 293.44°)
OKLaboklab(40.39% -0.0142 -0.1548)
OKLCHoklch(40.39% 0.155 264.8)
XYZxyz(8.1985, 6.1818, 31.7651)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3F9B #9B791D
analogous
#1D7E9B #1D3F9B #3A1D9B
triadic
#1D3F9B #9B1D3F #3F9B1D
tetradic
#1D3F9B #9B1D7E #9B791D #1D9B3A
square
#1D3F9B #9B1D7E #9B791D #1D9B3A
split-complementary
#1D3F9B #9B3A1D #7E9B1D
monochromatic
#0A1534 #132A67 #1D3F9B #2754CF #5379DF

Accessibility & contrast

On white

9.39
#1D3F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3F9B
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3F9B#FFFFFF#000000##FFFFFF
##1D3F9B1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d3f9b;
/* rgb */ color: rgb(29, 63, 155);
/* oklch */ color: oklch(40.4% 0.155 264.8);
Tailwind
colors: {
  custom: {
    50: '#6f73b9',
    500: '#1d3f9b',
    950: '#000000',
  },
}
SCSS
$custom: #1d3f9b;
$custom-light: #6f73b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3f9b",
  "rgb": {
    "r": 29,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 223.81,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40394,
    "c": 0.15544,
    "h": 264.8
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#1D3F9B
secondary
#C2A452
accent
#BC3CEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D3F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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