#1D249E#1D249E

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

Color values

HEX#1D249E
RGBrgb(29, 36, 158)
HSLhsl(237, 69%, 37%)
HSVhsv(237, 82%, 62%)
CMYKcmyk(81.6%, 77.2%, 0%, 38%)
CIE-LABlab(23.64, 41.74, -65.62)
CIE-LCHlch(23.64, 77.77, 302.46°)
OKLaboklab(35.94% -0.0012 -0.1901)
OKLCHoklch(35.94% 0.19 269.6)
XYZxyz(7.3070, 3.9907, 32.7263)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D249E #9E971D
analogous
#1D659E #1D249E #571D9E
triadic
#1D249E #9E1D24 #249E1D
tetradic
#1D249E #9E1D65 #9E971D #1D9E57
square
#1D249E #9E1D65 #9E971D #1D9E57
split-complementary
#1D249E #9E571D #659E1D
monochromatic
#0A0C37 #14186A #1D249E #2630D2 #565DE0

Accessibility & contrast

On white

11.68
#1D249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1D249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D249E
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D249E#FFFFFF#000000##FFFFFF
##1D249E1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d249e;
/* rgb */ color: rgb(29, 36, 158);
/* oklch */ color: oklch(35.9% 0.190 269.6);
Tailwind
colors: {
  custom: {
    50: '#7260bc',
    500: '#1d249e',
    950: '#000000',
  },
}
SCSS
$custom: #1d249e;
$custom-light: #7260bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d249e",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 236.744,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35938,
    "c": 0.19011,
    "h": 269.6
  },
  "luminance": 0.03992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D249E

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

Preview Lab → · Contrast checker → · Palette generator →

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