#1D4397#1D4397

#1D4397 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.145 H 263.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#1D4397
RGBrgb(29, 67, 151)
HSLhsl(221, 68%, 35%)
HSVhsv(221, 81%, 59%)
CMYKcmyk(80.8%, 55.6%, 0%, 40.8%)
CIE-LABlab(30.66, 18.88, -49.84)
CIE-LCHlch(30.66, 53.30, 290.75°)
OKLaboklab(40.89% -0.0173 -0.1438)
OKLCHoklch(40.89% 0.145 263.2)
XYZxyz(8.0978, 6.5089, 30.1017)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4397 #97711D
analogous
#1D8097 #1D4397 #341D97
triadic
#1D4397 #971D43 #43971D
tetradic
#1D4397 #971D80 #97711D #1D9734
square
#1D4397 #971D80 #97711D #1D9734
split-complementary
#1D4397 #97341D #80971D
monochromatic
#091530 #132C64 #1D4397 #275ACA #517DDE

Accessibility & contrast

On white

9.12
#1D4397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1D4397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4397
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4397#FFFFFF#000000##FFFFFF
##1D43971.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d4397;
/* rgb */ color: rgb(29, 67, 151);
/* oklch */ color: oklch(40.9% 0.145 263.2);
Tailwind
colors: {
  custom: {
    50: '#6e76b6',
    500: '#1d4397',
    950: '#000000',
  },
}
SCSS
$custom: #1d4397;
$custom-light: #6e76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4397",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 221.311,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40892,
    "c": 0.1448,
    "h": 263.2
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#1D4397
secondary
#C09D4F
accent
#B53DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4397

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

Preview Lab → · Contrast checker → · Palette generator →

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