#1D296C#1D296C

#1D296C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.6% C 0.117 H 270.5°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#1D296C
RGBrgb(29, 41, 108)
HSLhsl(231, 58%, 27%)
HSVhsv(231, 73%, 42%)
CMYKcmyk(73.1%, 62%, 0%, 57.6%)
CIE-LABlab(19.76, 19.86, -40.57)
CIE-LCHlch(19.76, 45.17, 296.09°)
OKLaboklab(31.6% 0.001 -0.117)
OKLCHoklch(31.6% 0.117 270.5)
XYZxyz(4.0055, 2.9294, 14.5388)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D296C #6C601D
analogous
#1D516C #1D296C #391D6C
triadic
#1D296C #6C1D29 #296C1D
tetradic
#1D296C #6C1D51 #6C601D #1D6C39
square
#1D296C #6C1D51 #6C601D #1D6C39
split-complementary
#1D296C #6C391D #516C1D
monochromatic
#060918 #10173C #1D296C #2A3B9C #394FCA

Accessibility & contrast

On white

13.24
#1D296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D296C
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D296C#FFFFFF#000000##FFFFFF
##1D296C1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d296c;
/* rgb */ color: rgb(29, 41, 108);
/* oklch */ color: oklch(31.6% 0.117 270.5);
Tailwind
colors: {
  custom: {
    50: '#656297',
    500: '#1d296c',
    950: '#000000',
  },
}
SCSS
$custom: #1d296c;
$custom-light: #656297;
$custom-dark: #000000;
JSON
{
  "hex": "#1d296c",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 230.886,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31597,
    "c": 0.11696,
    "h": 270.5
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#1D296C
secondary
#A19344
accent
#CA47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1D296C

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

Preview Lab → · Contrast checker → · Palette generator →

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