#1D3096#1D3096

#1D3096 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.167 H 268.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#1D3096
RGBrgb(29, 48, 150)
HSLhsl(231, 68%, 35%)
HSVhsv(231, 81%, 59%)
CMYKcmyk(80.7%, 68%, 0%, 41.2%)
CIE-LABlab(25.49, 31.40, -57.67)
CIE-LCHlch(25.49, 65.67, 298.57°)
OKLaboklab(37.02% -0.0053 -0.167)
OKLCHoklch(37.02% 0.167 268.2)
XYZxyz(7.0668, 4.5763, 29.3591)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3096 #96831D
analogous
#1D6C96 #1D3096 #471D96
triadic
#1D3096 #961D30 #30961D
tetradic
#1D3096 #961D6C #96831D #1D9647
square
#1D3096 #961D6C #96831D #1D9647
split-complementary
#1D3096 #96471D #6C961D
monochromatic
#090F2F #132063 #1D3096 #2740C9 #5066DD

Accessibility & contrast

On white

10.96
#1D3096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1D3096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3096
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3096#FFFFFF#000000##FFFFFF
##1D30961.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d3096;
/* rgb */ color: rgb(29, 48, 150);
/* oklch */ color: oklch(37.0% 0.167 268.2);
Tailwind
colors: {
  custom: {
    50: '#6f68b6',
    500: '#1d3096',
    950: '#000000',
  },
}
SCSS
$custom: #1d3096;
$custom-light: #6f68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3096",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 230.579,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37017,
    "c": 0.16707,
    "h": 268.2
  },
  "luminance": 0.04577
}

Semantic roles & 50–950 ramp

primary
#1D3096
secondary
#C0AE4F
accent
#CF3DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1D3096

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

Preview Lab → · Contrast checker → · Palette generator →

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