#1D3D89#1D3D89

#1D3D89 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.133 H 264.0°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#1D3D89
RGBrgb(29, 61, 137)
HSLhsl(222, 65%, 33%)
HSVhsv(222, 79%, 54%)
CMYKcmyk(78.8%, 55.5%, 0%, 46.3%)
CIE-LABlab(27.86, 17.40, -45.79)
CIE-LCHlch(27.86, 48.98, 290.81°)
OKLaboklab(38.42% -0.014 -0.132)
OKLCHoklch(38.42% 0.133 264)
XYZxyz(6.6892, 5.4041, 24.3526)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D89 #89691D
analogous
#1D7389 #1D3D89 #331D89
triadic
#1D3D89 #891D3D #3D891D
tetradic
#1D3D89 #891D73 #89691D #1D8933
square
#1D3D89 #891D73 #89691D #1D8933
split-complementary
#1D3D89 #89331D #73891D
monochromatic
#081024 #122756 #1D3D89 #2853BC #4873D8

Accessibility & contrast

On white

10.09
#1D3D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1D3D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D89
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D89#FFFFFF#000000##FFFFFF
##1D3D891.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d3d89;
/* rgb */ color: rgb(29, 61, 137);
/* oklch */ color: oklch(38.4% 0.133 264.0);
Tailwind
colors: {
  custom: {
    50: '#6b72ac',
    500: '#1d3d89',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d89;
$custom-light: #6b72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d89",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 222.222,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38425,
    "c": 0.13271,
    "h": 264
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

primary
#1D3D89
secondary
#BA9847
accent
#B640E8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1D3D89

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

Preview Lab → · Contrast checker → · Palette generator →

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