#1D298D#1D298D

#1D298D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.163 H 269.7°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#1D298D
RGBrgb(29, 41, 141)
HSLhsl(234, 66%, 33%)
HSVhsv(234, 79%, 55%)
CMYKcmyk(79.4%, 70.9%, 0%, 44.7%)
CIE-LABlab(22.89, 32.60, -56.38)
CIE-LCHlch(22.89, 65.13, 300.04°)
OKLaboklab(34.86% -0.0009 -0.1632)
OKLCHoklch(34.86% 0.163 269.7)
XYZxyz(6.1057, 3.7695, 25.5999)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D298D #8D811D
analogous
#1D618D #1D298D #491D8D
triadic
#1D298D #8D1D29 #298D1D
tetradic
#1D298D #8D1D61 #8D811D #1D8D49
square
#1D298D #8D1D61 #8D811D #1D8D49
split-complementary
#1D298D #8D491D #618D1D
monochromatic
#080B27 #131A5A #1D298D #2738C0 #4B5ADA

Accessibility & contrast

On white

11.97
#1D298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1D298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D298D
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D298D#FFFFFF#000000##FFFFFF
##1D298D1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d298d;
/* rgb */ color: rgb(29, 41, 141);
/* oklch */ color: oklch(34.9% 0.163 269.7);
Tailwind
colors: {
  custom: {
    50: '#6d63af',
    500: '#1d298d',
    950: '#000000',
  },
}
SCSS
$custom: #1d298d;
$custom-light: #6d63af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d298d",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 233.571,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34857,
    "c": 0.16325,
    "h": 269.7
  },
  "luminance": 0.0377
}

Semantic roles & 50–950 ramp

primary
#1D298D
secondary
#BCB04A
accent
#D73FE9
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1D298D

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

Preview Lab → · Contrast checker → · Palette generator →

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