#1D24A6#1D24A6

#1D24A6 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.200 H 269.3°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#1D24A6
RGBrgb(29, 36, 166)
HSLhsl(237, 70%, 38%)
HSVhsv(237, 83%, 65%)
CMYKcmyk(82.5%, 78.3%, 0%, 34.9%)
CIE-LABlab(24.56, 44.46, -68.96)
CIE-LCHlch(24.56, 82.05, 302.81°)
OKLaboklab(36.86% -0.0026 -0.1998)
OKLCHoklch(36.86% 0.2 269.3)
XYZxyz(8.0181, 4.2752, 36.4716)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D24A6 #A69F1D
analogous
#1D68A6 #1D24A6 #5A1DA6
triadic
#1D24A6 #A61D24 #24A61D
tetradic
#1D24A6 #A61D68 #A69F1D #1DA65A
square
#1D24A6 #A61D68 #A69F1D #1DA65A
split-complementary
#1D24A6 #A65A1D #68A61D
monochromatic
#0B0D3E #141972 #1D24A6 #2730D9 #5B62E2

Accessibility & contrast

On white

11.32
#1D24A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D24A6
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D24A6#FFFFFF#000000##FFFFFF
##1D24A61.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0033A4
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d24a6;
/* rgb */ color: rgb(29, 36, 166);
/* oklch */ color: oklch(36.9% 0.200 269.3);
Tailwind
colors: {
  custom: {
    50: '#7561c2',
    500: '#1d24a6',
    950: '#000000',
  },
}
SCSS
$custom: #1d24a6;
$custom-light: #7561c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d24a6",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 236.934,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36856,
    "c": 0.19981,
    "h": 269.3
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#1D24A6
secondary
#C6C159
accent
#E43BED
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #1D24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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