#1D3594#1D3594

#1D3594 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.158 H 267.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#1D3594
RGBrgb(29, 53, 148)
HSLhsl(228, 67%, 35%)
HSVhsv(228, 80%, 58%)
CMYKcmyk(80.4%, 64.2%, 0%, 42%)
CIE-LABlab(26.58, 27.29, -54.66)
CIE-LCHlch(26.58, 61.09, 296.53°)
OKLaboklab(37.76% -0.008 -0.1582)
OKLCHoklch(37.76% 0.158 267.1)
XYZxyz(7.1232, 4.9447, 28.5902)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3594 #947C1D
analogous
#1D7194 #1D3594 #401D94
triadic
#1D3594 #941D35 #35941D
tetradic
#1D3594 #941D71 #947C1D #1D9440
square
#1D3594 #941D71 #947C1D #1D9440
split-complementary
#1D3594 #94401D #71941D
monochromatic
#09102E #132361 #1D3594 #2747C7 #4F6BDC

Accessibility & contrast

On white

10.56
#1D3594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1D3594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3594
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3594#FFFFFF#000000##FFFFFF
##1D35941.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d3594;
/* rgb */ color: rgb(29, 53, 148);
/* oklch */ color: oklch(37.8% 0.158 267.1);
Tailwind
colors: {
  custom: {
    50: '#6e6cb4',
    500: '#1d3594',
    950: '#000000',
  },
}
SCSS
$custom: #1d3594;
$custom-light: #6e6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3594",
  "rgb": {
    "r": 29,
    "g": 53,
    "b": 148
  },
  "hsl": {
    "h": 227.899,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37757,
    "c": 0.15835,
    "h": 267.1
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#1D3594
secondary
#BFA84E
accent
#C73EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1D3594

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

Preview Lab → · Contrast checker → · Palette generator →

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