#1D296F#1D296F

#1D296F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.121 H 270.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#1D296F
RGBrgb(29, 41, 111)
HSLhsl(231, 59%, 27%)
HSVhsv(231, 74%, 44%)
CMYKcmyk(73.9%, 63.1%, 0%, 56.5%)
CIE-LABlab(20.02, 21.05, -42.08)
CIE-LCHlch(20.02, 47.06, 296.58°)
OKLaboklab(31.87% 0.001 -0.1214)
OKLCHoklch(31.87% 0.121 270.5)
XYZxyz(4.1679, 2.9944, 15.3942)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D296F #6F631D
analogous
#1D526F #1D296F #3A1D6F
triadic
#1D296F #6F1D29 #296F1D
tetradic
#1D296F #6F1D52 #6F631D #1D6F3A
square
#1D296F #6F1D52 #6F631D #1D6F3A
split-complementary
#1D296F #6F3A1D #526F1D
monochromatic
#060918 #10173E #1D296F #2A3BA0 #3B50CC

Accessibility & contrast

On white

13.13
#1D296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D296F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D296F#FFFFFF#000000##FFFFFF
##1D296F1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d296f;
/* rgb */ color: rgb(29, 41, 111);
/* oklch */ color: oklch(31.9% 0.121 270.5);
Tailwind
colors: {
  custom: {
    50: '#656299',
    500: '#1d296f',
    950: '#000000',
  },
}
SCSS
$custom: #1d296f;
$custom-light: #656299;
$custom-dark: #000000;
JSON
{
  "hex": "#1d296f",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 231.22,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31874,
    "c": 0.12141,
    "h": 270.5
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#1D296F
secondary
#A39644
accent
#CB46E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1D296F

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

Preview Lab → · Contrast checker → · Palette generator →

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