#1D3D94#1D3D94

#1D3D94 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.148 H 264.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#1D3D94
RGBrgb(29, 61, 148)
HSLhsl(224, 67%, 35%)
HSVhsv(224, 80%, 58%)
CMYKcmyk(80.4%, 58.8%, 0%, 42%)
CIE-LABlab(28.74, 21.81, -51.14)
CIE-LCHlch(28.74, 55.59, 293.10°)
OKLaboklab(39.37% -0.0132 -0.1477)
OKLCHoklch(39.37% 0.148 264.9)
XYZxyz(7.5188, 5.7359, 28.7221)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D94 #94741D
analogous
#1D7894 #1D3D94 #391D94
triadic
#1D3D94 #941D3D #3D941D
tetradic
#1D3D94 #941D78 #94741D #1D9439
square
#1D3D94 #941D78 #94741D #1D9439
split-complementary
#1D3D94 #94391D #78941D
monochromatic
#09132E #132861 #1D3D94 #2752C7 #4F75DC

Accessibility & contrast

On white

9.78
#1D3D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1D3D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D94
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D94#FFFFFF#000000##FFFFFF
##1D3D941.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d3d94;
/* rgb */ color: rgb(29, 61, 148);
/* oklch */ color: oklch(39.4% 0.148 264.9);
Tailwind
colors: {
  custom: {
    50: '#6d72b4',
    500: '#1d3d94',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d94;
$custom-light: #6d72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d94",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 223.866,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39365,
    "c": 0.14828,
    "h": 264.9
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#1D3D94
secondary
#BFA14E
accent
#BC3EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D3D94

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

Preview Lab → · Contrast checker → · Palette generator →

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