#1D299F#1D299F

#1D299F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.186 H 269.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#1D299F
RGBrgb(29, 41, 159)
HSLhsl(234, 69%, 37%)
HSVhsv(234, 82%, 62%)
CMYKcmyk(81.8%, 74.2%, 0%, 37.6%)
CIE-LABlab(24.79, 39.15, -64.33)
CIE-LCHlch(24.79, 75.30, 301.32°)
OKLaboklab(36.79% -0.0031 -0.1864)
OKLCHoklch(36.79% 0.186 269)
XYZxyz(7.5555, 4.3494, 33.2355)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D299F #9F931D
analogous
#1D6A9F #1D299F #521D9F
triadic
#1D299F #9F1D29 #299F1D
tetradic
#1D299F #9F1D6A #9F931D #1D9F52
square
#1D299F #9F1D6A #9F931D #1D9F52
split-complementary
#1D299F #9F521D #6A9F1D
monochromatic
#0A0E37 #141C6B #1D299F #2636D3 #5663E0

Accessibility & contrast

On white

11.23
#1D299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1D299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D299F
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D299F#FFFFFF#000000##FFFFFF
##1D299F1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d299f;
/* rgb */ color: rgb(29, 41, 159);
/* oklch */ color: oklch(36.8% 0.186 269.0);
Tailwind
colors: {
  custom: {
    50: '#7264bd',
    500: '#1d299f',
    950: '#000000',
  },
}
SCSS
$custom: #1d299f;
$custom-light: #7264bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d299f",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 234.462,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36791,
    "c": 0.18641,
    "h": 269
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#1D299F
secondary
#C4B954
accent
#DC3CEC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1D299F

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

Preview Lab → · Contrast checker → · Palette generator →

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