#1D299E#1D299E

#1D299E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.185 H 269.1°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#1D299E
RGBrgb(29, 41, 158)
HSLhsl(234, 69%, 37%)
HSVhsv(234, 82%, 62%)
CMYKcmyk(81.6%, 74.1%, 0%, 38%)
CIE-LABlab(24.69, 38.79, -63.90)
CIE-LCHlch(24.69, 74.75, 301.26°)
OKLaboklab(36.68% -0.003 -0.1851)
OKLCHoklch(36.68% 0.185 269.1)
XYZxyz(7.4691, 4.3148, 32.7803)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D299E #9E921D
analogous
#1D6A9E #1D299E #521D9E
triadic
#1D299E #9E1D29 #299E1D
tetradic
#1D299E #9E1D6A #9E921D #1D9E52
square
#1D299E #9E1D6A #9E921D #1D9E52
split-complementary
#1D299E #9E521D #6A9E1D
monochromatic
#0A0E37 #141C6A #1D299E #2636D2 #5662E0

Accessibility & contrast

On white

11.27
#1D299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1D299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D299E
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D299E#FFFFFF#000000##FFFFFF
##1D299E1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d299e;
/* rgb */ color: rgb(29, 41, 158);
/* oklch */ color: oklch(36.7% 0.185 269.1);
Tailwind
colors: {
  custom: {
    50: '#7264bc',
    500: '#1d299e',
    950: '#000000',
  },
}
SCSS
$custom: #1d299e;
$custom-light: #7264bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d299e",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 234.419,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36682,
    "c": 0.18515,
    "h": 269.1
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#1D299E
secondary
#C3B954
accent
#DB3CEC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1D299E

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

Preview Lab → · Contrast checker → · Palette generator →

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