#1D247D#1D247D

#1D247D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.148 H 271.4°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#1D247D
RGBrgb(29, 36, 125)
HSLhsl(236, 62%, 30%)
HSVhsv(236, 77%, 49%)
CMYKcmyk(76.8%, 71.2%, 0%, 51%)
CIE-LABlab(20.06, 29.89, -51.00)
CIE-LCHlch(20.06, 59.11, 300.37°)
OKLaboklab(32.31% 0.0037 -0.1475)
OKLCHoklch(32.31% 0.148 271.4)
XYZxyz(4.8380, 3.0031, 19.7227)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D247D #7D761D
analogous
#1D547D #1D247D #461D7D
triadic
#1D247D #7D1D24 #247D1D
tetradic
#1D247D #7D1D54 #7D761D #1D7D46
square
#1D247D #7D1D54 #7D761D #1D7D46
split-complementary
#1D247D #7D461D #547D1D
monochromatic
#06071A #11164B #1D247D #2932AF #414CD3

Accessibility & contrast

On white

13.12
#1D247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D247D
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D247D#FFFFFF#000000##FFFFFF
##1D247D1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d247d;
/* rgb */ color: rgb(29, 36, 125);
/* oklch */ color: oklch(32.3% 0.148 271.4);
Tailwind
colors: {
  custom: {
    50: '#6a5fa4',
    500: '#1d247d',
    950: '#000000',
  },
}
SCSS
$custom: #1d247d;
$custom-light: #6a5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d247d",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 235.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32309,
    "c": 0.14759,
    "h": 271.4
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#1D247D
secondary
#B1A945
accent
#DA42E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1D247D

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

Preview Lab → · Contrast checker → · Palette generator →

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