#1D298F#1D298F

#1D298F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.166 H 269.6°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#1D298F
RGBrgb(29, 41, 143)
HSLhsl(234, 66%, 34%)
HSVhsv(234, 80%, 56%)
CMYKcmyk(79.7%, 71.3%, 0%, 43.9%)
CIE-LABlab(23.10, 33.34, -57.28)
CIE-LCHlch(23.10, 66.28, 300.20°)
OKLaboklab(35.07% -0.0011 -0.1659)
OKLCHoklch(35.07% 0.166 269.6)
XYZxyz(6.2559, 3.8296, 26.3907)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D298F #8F831D
analogous
#1D628F #1D298F #4A1D8F
triadic
#1D298F #8F1D29 #298F1D
tetradic
#1D298F #8F1D62 #8F831D #1D8F4A
square
#1D298F #8F1D62 #8F831D #1D8F4A
split-complementary
#1D298F #8F4A1D #628F1D
monochromatic
#080C29 #131A5C #1D298F #2738C2 #4C5BDB

Accessibility & contrast

On white

11.89
#1D298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1D298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D298F
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D298F#FFFFFF#000000##FFFFFF
##1D298F1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d298f;
/* rgb */ color: rgb(29, 41, 143);
/* oklch */ color: oklch(35.1% 0.166 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e63b1',
    500: '#1d298f',
    950: '#000000',
  },
}
SCSS
$custom: #1d298f;
$custom-light: #6e63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d298f",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 233.684,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35068,
    "c": 0.16588,
    "h": 269.6
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#1D298F
secondary
#BDB14B
accent
#D73FE9
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1D298F

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

Preview Lab → · Contrast checker → · Palette generator →

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