#1D3A88#1D3A88

#1D3A88 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.135 H 265.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#1D3A88
RGBrgb(29, 58, 136)
HSLhsl(224, 65%, 32%)
HSVhsv(224, 79%, 53%)
CMYKcmyk(78.7%, 57.4%, 0%, 46.7%)
CIE-LABlab(26.92, 19.08, -46.69)
CIE-LCHlch(26.92, 50.44, 292.23°)
OKLaboklab(37.69% -0.0117 -0.1347)
OKLCHoklch(37.69% 0.135 265)
XYZxyz(6.4621, 5.0642, 23.9247)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3A88 #886B1D
analogous
#1D7088 #1D3A88 #351D88
triadic
#1D3A88 #881D3A #3A881D
tetradic
#1D3A88 #881D70 #886B1D #1D8835
square
#1D3A88 #881D70 #886B1D #1D8835
split-complementary
#1D3A88 #88351D #70881D
monochromatic
#070F23 #122456 #1D3A88 #2850BA #486FD8

Accessibility & contrast

On white

10.43
#1D3A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1D3A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3A88
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3A88#FFFFFF#000000##FFFFFF
##1D3A881.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d3a88;
/* rgb */ color: rgb(29, 58, 136);
/* oklch */ color: oklch(37.7% 0.135 265.0);
Tailwind
colors: {
  custom: {
    50: '#6b6fab',
    500: '#1d3a88',
    950: '#000000',
  },
}
SCSS
$custom: #1d3a88;
$custom-light: #6b6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3a88",
  "rgb": {
    "r": 29,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 223.738,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37691,
    "c": 0.1352,
    "h": 265
  },
  "luminance": 0.05065
}

Semantic roles & 50–950 ramp

primary
#1D3A88
secondary
#BA9B47
accent
#BA40E8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1D3A88

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

Preview Lab → · Contrast checker → · Palette generator →

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