#1D2B97#1D2B97

#1D2B97 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.174 H 269.0°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#1D2B97
RGBrgb(29, 43, 151)
HSLhsl(233, 68%, 35%)
HSVhsv(233, 81%, 59%)
CMYKcmyk(80.8%, 71.5%, 0%, 40.8%)
CIE-LABlab(24.39, 35.02, -60.09)
CIE-LCHlch(24.39, 69.55, 300.23°)
OKLaboklab(36.25% -0.0029 -0.1741)
OKLCHoklch(36.25% 0.174 269)
XYZxyz(6.9546, 4.2225, 29.7207)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B97 #97891D
analogous
#1D6897 #1D2B97 #4C1D97
triadic
#1D2B97 #971D2B #2B971D
tetradic
#1D2B97 #971D68 #97891D #1D974C
square
#1D2B97 #971D68 #97891D #1D974C
split-complementary
#1D2B97 #974C1D #68971D
monochromatic
#090E30 #131C64 #1D2B97 #273ACA #5161DE

Accessibility & contrast

On white

11.38
#1D2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1D2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B97
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B97#FFFFFF#000000##FFFFFF
##1D2B971.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d2b97;
/* rgb */ color: rgb(29, 43, 151);
/* oklch */ color: oklch(36.3% 0.174 269.0);
Tailwind
colors: {
  custom: {
    50: '#7065b7',
    500: '#1d2b97',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b97;
$custom-light: #7065b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b97",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 233.115,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3625,
    "c": 0.17408,
    "h": 269
  },
  "luminance": 0.04223
}

Semantic roles & 50–950 ramp

primary
#1D2B97
secondary
#C0B34F
accent
#D73DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1D2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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