#1D249F#1D249F

#1D249F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.191 H 269.6°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#1D249F
RGBrgb(29, 36, 159)
HSLhsl(237, 69%, 37%)
HSVhsv(237, 82%, 62%)
CMYKcmyk(81.8%, 77.4%, 0%, 37.6%)
CIE-LABlab(23.75, 42.08, -66.05)
CIE-LCHlch(23.75, 78.31, 302.50°)
OKLaboklab(36.05% -0.0014 -0.1913)
OKLCHoklch(36.05% 0.191 269.6)
XYZxyz(7.3934, 4.0253, 33.1815)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D249F #9F981D
analogous
#1D659F #1D249F #571D9F
triadic
#1D249F #9F1D24 #249F1D
tetradic
#1D249F #9F1D65 #9F981D #1D9F57
square
#1D249F #9F1D65 #9F981D #1D9F57
split-complementary
#1D249F #9F571D #659F1D
monochromatic
#0A0D37 #14186B #1D249F #2630D3 #565EE0

Accessibility & contrast

On white

11.63
#1D249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1D249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D249F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D249F#FFFFFF#000000##FFFFFF
##1D249F1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d249f;
/* rgb */ color: rgb(29, 36, 159);
/* oklch */ color: oklch(36.1% 0.191 269.6);
Tailwind
colors: {
  custom: {
    50: '#7360bd',
    500: '#1d249f',
    950: '#000000',
  },
}
SCSS
$custom: #1d249f;
$custom-light: #7360bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d249f",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 236.769,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36052,
    "c": 0.19134,
    "h": 269.6
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#1D249F
secondary
#C4BE54
accent
#E23CEC
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1D249F

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

Preview Lab → · Contrast checker → · Palette generator →

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