#1D296E#1D296E

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

Color values

HEX#1D296E
RGBrgb(29, 41, 110)
HSLhsl(231, 58%, 27%)
HSVhsv(231, 74%, 43%)
CMYKcmyk(73.6%, 62.7%, 0%, 56.9%)
CIE-LABlab(19.93, 20.66, -41.58)
CIE-LCHlch(19.93, 46.43, 296.42°)
OKLaboklab(31.78% 0.001 -0.1199)
OKLCHoklch(31.78% 0.12 270.5)
XYZxyz(4.1131, 2.9725, 15.1058)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D296E #6E621D
analogous
#1D526E #1D296E #3A1D6E
triadic
#1D296E #6E1D29 #296E1D
tetradic
#1D296E #6E1D52 #6E621D #1D6E3A
square
#1D296E #6E1D52 #6E621D #1D6E3A
split-complementary
#1D296E #6E3A1D #526E1D
monochromatic
#060918 #10173E #1D296E #2A3B9E #3A50CB

Accessibility & contrast

On white

13.17
#1D296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D296E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D296E#FFFFFF#000000##FFFFFF
##1D296E1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d296e;
/* rgb */ color: rgb(29, 41, 110);
/* oklch */ color: oklch(31.8% 0.120 270.5);
Tailwind
colors: {
  custom: {
    50: '#656298',
    500: '#1d296e',
    950: '#000000',
  },
}
SCSS
$custom: #1d296e;
$custom-light: #656298;
$custom-dark: #000000;
JSON
{
  "hex": "#1d296e",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 231.111,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31781,
    "c": 0.11993,
    "h": 270.5
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#1D296E
secondary
#A29544
accent
#CA46E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1D296E

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

Preview Lab → · Contrast checker → · Palette generator →

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