#1D2374#1D2374

#1D2374 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.136 H 272.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#1D2374
RGBrgb(29, 35, 116)
HSLhsl(236, 60%, 28%)
HSVhsv(236, 75%, 45%)
CMYKcmyk(75%, 69.8%, 0%, 54.5%)
CIE-LABlab(18.90, 27.15, -47.14)
CIE-LCHlch(18.90, 54.40, 299.94°)
OKLaboklab(31.2% 0.0053 -0.1363)
OKLCHoklch(31.2% 0.136 272.2)
XYZxyz(4.2590, 2.7238, 16.8209)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2374 #746E1D
analogous
#1D4E74 #1D2374 #421D74
triadic
#1D2374 #741D23 #23741D
tetradic
#1D2374 #741D4E #746E1D #1D7442
square
#1D2374 #741D4E #746E1D #1D7442
split-complementary
#1D2374 #74421D #4E741D
monochromatic
#060718 #111443 #1D2374 #2932A5 #3D47CE

Accessibility & contrast

On white

13.59
#1D2374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D2374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2374
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2374#FFFFFF#000000##FFFFFF
##1D23741.0013.591.5413.59
#FFFFFF13.591.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2374;
/* rgb */ color: rgb(29, 35, 116);
/* oklch */ color: oklch(31.2% 0.136 272.2);
Tailwind
colors: {
  custom: {
    50: '#675e9d',
    500: '#1d2374',
    950: '#000000',
  },
}
SCSS
$custom: #1d2374;
$custom-light: #675e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2374",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 235.862,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31196,
    "c": 0.13637,
    "h": 272.2
  },
  "luminance": 0.02724
}

Semantic roles & 50–950 ramp

primary
#1D2374
secondary
#A8A145
accent
#D845E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D2374

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

Preview Lab → · Contrast checker → · Palette generator →

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