#1D296D#1D296D

#1D296D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.118 H 270.5°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1D296D
RGBrgb(29, 41, 109)
HSLhsl(231, 58%, 27%)
HSVhsv(231, 73%, 43%)
CMYKcmyk(73.4%, 62.4%, 0%, 57.3%)
CIE-LABlab(19.85, 20.26, -41.08)
CIE-LCHlch(19.85, 45.80, 296.25°)
OKLaboklab(31.69% 0.001 -0.1184)
OKLCHoklch(31.69% 0.118 270.5)
XYZxyz(4.0590, 2.9508, 14.8207)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D296D #6D611D
analogous
#1D516D #1D296D #391D6D
triadic
#1D296D #6D1D29 #296D1D
tetradic
#1D296D #6D1D51 #6D611D #1D6D39
square
#1D296D #6D1D51 #6D611D #1D6D39
split-complementary
#1D296D #6D391D #516D1D
monochromatic
#060918 #10173D #1D296D #2A3B9D #3A50CB

Accessibility & contrast

On white

13.21
#1D296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1D296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D296D
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D296D#FFFFFF#000000##FFFFFF
##1D296D1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d296d;
/* rgb */ color: rgb(29, 41, 109);
/* oklch */ color: oklch(31.7% 0.118 270.5);
Tailwind
colors: {
  custom: {
    50: '#656297',
    500: '#1d296d',
    950: '#000000',
  },
}
SCSS
$custom: #1d296d;
$custom-light: #656297;
$custom-dark: #000000;
JSON
{
  "hex": "#1d296d",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 231,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31689,
    "c": 0.11845,
    "h": 270.5
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#1D296D
secondary
#A29444
accent
#CA47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1D296D

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

Preview Lab → · Contrast checker → · Palette generator →

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