#1D248D#1D248D

#1D248D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.169 H 270.5°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#1D248D
RGBrgb(29, 36, 141)
HSLhsl(236, 66%, 33%)
HSVhsv(236, 79%, 55%)
CMYKcmyk(79.4%, 74.5%, 0%, 44.7%)
CIE-LABlab(21.75, 35.76, -58.27)
CIE-LCHlch(21.75, 68.37, 301.54°)
OKLaboklab(34.03% 0.0015 -0.1687)
OKLCHoklch(34.03% 0.169 270.5)
XYZxyz(5.9437, 3.4454, 25.5459)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D248D #8D861D
analogous
#1D5C8D #1D248D #4E1D8D
triadic
#1D248D #8D1D24 #248D1D
tetradic
#1D248D #8D1D5C #8D861D #1D8D4E
square
#1D248D #8D1D5C #8D861D #1D8D4E
split-complementary
#1D248D #8D4E1D #5C8D1D
monochromatic
#080A27 #13175A #1D248D #2731C0 #4B53DA

Accessibility & contrast

On white

12.43
#1D248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D248D
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D248D#FFFFFF#000000##FFFFFF
##1D248D1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#002F8B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d248d;
/* rgb */ color: rgb(29, 36, 141);
/* oklch */ color: oklch(34.0% 0.169 270.5);
Tailwind
colors: {
  custom: {
    50: '#6e60af',
    500: '#1d248d',
    950: '#000000',
  },
}
SCSS
$custom: #1d248d;
$custom-light: #6e60af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d248d",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 236.25,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34031,
    "c": 0.16876,
    "h": 270.5
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#1D248D
secondary
#BCB54A
accent
#DE3FE9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1D248D

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

Preview Lab → · Contrast checker → · Palette generator →

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