#1D249D#1D249D

#1D249D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.189 H 269.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#1D249D
RGBrgb(29, 36, 157)
HSLhsl(237, 69%, 36%)
HSVhsv(237, 82%, 62%)
CMYKcmyk(81.5%, 77.1%, 0%, 38.4%)
CIE-LABlab(23.53, 41.39, -65.20)
CIE-LCHlch(23.53, 77.23, 302.41°)
OKLaboklab(35.82% -0.0011 -0.1889)
OKLCHoklch(35.82% 0.189 269.7)
XYZxyz(7.2213, 3.9564, 32.2748)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D249D #9D961D
analogous
#1D649D #1D249D #561D9D
triadic
#1D249D #9D1D24 #249D1D
tetradic
#1D249D #9D1D64 #9D961D #1D9D56
square
#1D249D #9D1D64 #9D961D #1D9D56
split-complementary
#1D249D #9D561D #649D1D
monochromatic
#0A0C36 #131869 #1D249D #2730D1 #555CE0

Accessibility & contrast

On white

11.72
#1D249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1D249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D249D
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D249D#FFFFFF#000000##FFFFFF
##1D249D1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d249d;
/* rgb */ color: rgb(29, 36, 157);
/* oklch */ color: oklch(35.8% 0.189 269.7);
Tailwind
colors: {
  custom: {
    50: '#7260bb',
    500: '#1d249d',
    950: '#000000',
  },
}
SCSS
$custom: #1d249d;
$custom-light: #7260bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d249d",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 236.719,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35824,
    "c": 0.18888,
    "h": 269.7
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#1D249D
secondary
#C3BD53
accent
#E23CEC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1D249D

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

Preview Lab → · Contrast checker → · Palette generator →

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