#1D247B#1D247B

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

Color values

HEX#1D247B
RGBrgb(29, 36, 123)
HSLhsl(236, 62%, 30%)
HSVhsv(236, 76%, 48%)
CMYKcmyk(76.4%, 70.7%, 0%, 51.8%)
CIE-LABlab(19.85, 29.14, -50.06)
CIE-LCHlch(19.85, 57.92, 300.20°)
OKLaboklab(32.1% 0.0039 -0.1448)
OKLCHoklch(32.1% 0.145 271.5)
XYZxyz(4.7115, 2.9525, 19.0566)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D247B #7B741D
analogous
#1D537B #1D247B #451D7B
triadic
#1D247B #7B1D24 #247B1D
tetradic
#1D247B #7B1D53 #7B741D #1D7B45
square
#1D247B #7B1D53 #7B741D #1D7B45
split-complementary
#1D247B #7B451D #537B1D
monochromatic
#060719 #111649 #1D247B #2932AD #404BD2

Accessibility & contrast

On white

13.20
#1D247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D247B
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D247B#FFFFFF#000000##FFFFFF
##1D247B1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d247b;
/* rgb */ color: rgb(29, 36, 123);
/* oklch */ color: oklch(32.1% 0.145 271.5);
Tailwind
colors: {
  custom: {
    50: '#695fa2',
    500: '#1d247b',
    950: '#000000',
  },
}
SCSS
$custom: #1d247b;
$custom-light: #695fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d247b",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 235.532,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.321,
    "c": 0.14485,
    "h": 271.5
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D247B

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

Preview Lab → · Contrast checker → · Palette generator →

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