#1D2F96#1D2F96

#1D2F96 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.168 H 268.4°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#1D2F96
RGBrgb(29, 47, 150)
HSLhsl(231, 68%, 35%)
HSVhsv(231, 81%, 59%)
CMYKcmyk(80.7%, 68.7%, 0%, 41.2%)
CIE-LABlab(25.25, 32.06, -58.08)
CIE-LCHlch(25.25, 66.34, 298.90°)
OKLaboklab(36.84% -0.0048 -0.1682)
OKLCHoklch(36.84% 0.168 268.4)
XYZxyz(7.0263, 4.4954, 29.3456)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F96 #96841D
analogous
#1D6C96 #1D2F96 #471D96
triadic
#1D2F96 #961D2F #2F961D
tetradic
#1D2F96 #961D6C #96841D #1D9647
square
#1D2F96 #961D6C #96841D #1D9647
split-complementary
#1D2F96 #96471D #6C961D
monochromatic
#090F2F #131F63 #1D2F96 #273FC9 #5065DD

Accessibility & contrast

On white

11.06
#1D2F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1D2F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F96
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F96#FFFFFF#000000##FFFFFF
##1D2F961.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2f96;
/* rgb */ color: rgb(29, 47, 150);
/* oklch */ color: oklch(36.8% 0.168 268.4);
Tailwind
colors: {
  custom: {
    50: '#6f67b6',
    500: '#1d2f96',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f96;
$custom-light: #6f67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f96",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 231.074,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36838,
    "c": 0.16824,
    "h": 268.4
  },
  "luminance": 0.04496
}

Semantic roles & 50–950 ramp

primary
#1D2F96
secondary
#C0AF4F
accent
#D13DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1D2F96

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

Preview Lab → · Contrast checker → · Palette generator →

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