#1D296B#1D296B

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

Color values

HEX#1D296B
RGBrgb(29, 41, 107)
HSLhsl(231, 57%, 27%)
HSVhsv(231, 73%, 42%)
CMYKcmyk(72.9%, 61.7%, 0%, 58%)
CIE-LABlab(19.67, 19.47, -40.06)
CIE-LCHlch(19.67, 44.54, 295.92°)
OKLaboklab(31.51% 0.001 -0.1155)
OKLCHoklch(31.51% 0.115 270.5)
XYZxyz(3.9526, 2.9082, 14.2601)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D296B #6B5F1D
analogous
#1D506B #1D296B #381D6B
triadic
#1D296B #6B1D29 #296B1D
tetradic
#1D296B #6B1D50 #6B5F1D #1D6B38
square
#1D296B #6B1D50 #6B5F1D #1D6B38
split-complementary
#1D296B #6B381D #506B1D
monochromatic
#070918 #10173B #1D296B #2A3B9B #394FC9

Accessibility & contrast

On white

13.28
#1D296B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1D296B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D296B
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D296B#FFFFFF#000000##FFFFFF
##1D296B1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#002C6A
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d296b;
/* rgb */ color: rgb(29, 41, 107);
/* oklch */ color: oklch(31.5% 0.115 270.5);
Tailwind
colors: {
  custom: {
    50: '#646296',
    500: '#1d296b',
    950: '#000000',
  },
}
SCSS
$custom: #1d296b;
$custom-light: #646296;
$custom-dark: #000000;
JSON
{
  "hex": "#1d296b",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 230.769,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31506,
    "c": 0.11547,
    "h": 270.5
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#1D296B
secondary
#A09244
accent
#C947E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1D296B

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

Preview Lab → · Contrast checker → · Palette generator →

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