#1D247A#1D247A

#1D247A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.143 H 271.6°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#1D247A
RGBrgb(29, 36, 122)
HSLhsl(235, 62%, 30%)
HSVhsv(235, 76%, 48%)
CMYKcmyk(76.2%, 70.5%, 0%, 52.2%)
CIE-LABlab(19.75, 28.76, -49.59)
CIE-LCHlch(19.75, 57.32, 300.11°)
OKLaboklab(32% 0.004 -0.1434)
OKLCHoklch(32% 0.143 271.6)
XYZxyz(4.6492, 2.9276, 18.7286)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D247A #7A731D
analogous
#1D537A #1D247A #451D7A
triadic
#1D247A #7A1D24 #247A1D
tetradic
#1D247A #7A1D53 #7A731D #1D7A45
square
#1D247A #7A1D53 #7A731D #1D7A45
split-complementary
#1D247A #7A451D #537A1D
monochromatic
#060719 #111549 #1D247A #2933AB #404BD2

Accessibility & contrast

On white

13.24
#1D247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1D247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D247A
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D247A#FFFFFF#000000##FFFFFF
##1D247A1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d247a;
/* rgb */ color: rgb(29, 36, 122);
/* oklch */ color: oklch(32.0% 0.143 271.6);
Tailwind
colors: {
  custom: {
    50: '#695fa1',
    500: '#1d247a',
    950: '#000000',
  },
}
SCSS
$custom: #1d247a;
$custom-light: #695fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d247a",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 235.484,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31996,
    "c": 0.14348,
    "h": 271.6
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#1D247A
secondary
#AEA645
accent
#D943E5
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1D247A

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

Preview Lab → · Contrast checker → · Palette generator →

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