#1D247E#1D247E

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

Color values

HEX#1D247E
RGBrgb(29, 36, 126)
HSLhsl(236, 63%, 30%)
HSVhsv(236, 77%, 49%)
CMYKcmyk(77%, 71.4%, 0%, 50.6%)
CIE-LABlab(20.16, 30.26, -51.46)
CIE-LCHlch(20.16, 59.70, 300.46°)
OKLaboklab(32.42% 0.0035 -0.1489)
OKLCHoklch(32.42% 0.149 271.4)
XYZxyz(4.9022, 3.0288, 20.0609)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D247E #7E771D
analogous
#1D547E #1D247E #461D7E
triadic
#1D247E #7E1D24 #247E1D
tetradic
#1D247E #7E1D54 #7E771D #1D7E46
square
#1D247E #7E1D54 #7E771D #1D7E46
split-complementary
#1D247E #7E461D #547E1D
monochromatic
#06081B #12164C #1D247E #2832B0 #424CD3

Accessibility & contrast

On white

13.08
#1D247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1D247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D247E
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D247E#FFFFFF#000000##FFFFFF
##1D247E1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d247e;
/* rgb */ color: rgb(29, 36, 126);
/* oklch */ color: oklch(32.4% 0.149 271.4);
Tailwind
colors: {
  custom: {
    50: '#6a5fa4',
    500: '#1d247e',
    950: '#000000',
  },
}
SCSS
$custom: #1d247e;
$custom-light: #6a5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d247e",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 235.67,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32415,
    "c": 0.14894,
    "h": 271.4
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#1D247E
secondary
#B1AA45
accent
#DA42E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1D247E

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

Preview Lab → · Contrast checker → · Palette generator →

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