#1D247C#1D247C

#1D247C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.146 H 271.5°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#1D247C
RGBrgb(29, 36, 124)
HSLhsl(236, 62%, 30%)
HSVhsv(236, 77%, 49%)
CMYKcmyk(76.6%, 71%, 0%, 51.4%)
CIE-LABlab(19.95, 29.51, -50.53)
CIE-LCHlch(19.95, 58.51, 300.29°)
OKLaboklab(32.21% 0.0038 -0.1462)
OKLCHoklch(32.21% 0.146 271.5)
XYZxyz(4.7744, 2.9777, 19.3880)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D247C #7C751D
analogous
#1D537C #1D247C #461D7C
triadic
#1D247C #7C1D24 #247C1D
tetradic
#1D247C #7C1D53 #7C751D #1D7C46
square
#1D247C #7C1D53 #7C751D #1D7C46
split-complementary
#1D247C #7C461D #537C1D
monochromatic
#060719 #11164A #1D247C #2932AE #414CD3

Accessibility & contrast

On white

13.16
#1D247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D247C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D247C#FFFFFF#000000##FFFFFF
##1D247C1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d247c;
/* rgb */ color: rgb(29, 36, 124);
/* oklch */ color: oklch(32.2% 0.146 271.5);
Tailwind
colors: {
  custom: {
    50: '#695fa3',
    500: '#1d247c',
    950: '#000000',
  },
}
SCSS
$custom: #1d247c;
$custom-light: #695fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d247c",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 235.579,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.32205,
    "c": 0.14622,
    "h": 271.5
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#1D247C
secondary
#B0A845
accent
#D943E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1D247C

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

Preview Lab → · Contrast checker → · Palette generator →

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