#1D4297#1D4297

#1D4297 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.146 H 263.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#1D4297
RGBrgb(29, 66, 151)
HSLhsl(222, 68%, 35%)
HSVhsv(222, 81%, 59%)
CMYKcmyk(80.8%, 56.3%, 0%, 40.8%)
CIE-LABlab(30.38, 19.57, -50.30)
CIE-LCHlch(30.38, 53.97, 291.26°)
OKLaboklab(40.68% -0.0165 -0.1451)
OKLCHoklch(40.68% 0.146 263.5)
XYZxyz(8.0388, 6.3911, 30.0821)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4297 #97721D
analogous
#1D7F97 #1D4297 #351D97
triadic
#1D4297 #971D42 #42971D
tetradic
#1D4297 #971D7F #97721D #1D9735
square
#1D4297 #971D7F #97721D #1D9735
split-complementary
#1D4297 #97351D #7F971D
monochromatic
#091530 #132C64 #1D4297 #2758CA #517CDE

Accessibility & contrast

On white

9.22
#1D4297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1D4297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4297
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4297#FFFFFF#000000##FFFFFF
##1D42971.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d4297;
/* rgb */ color: rgb(29, 66, 151);
/* oklch */ color: oklch(40.7% 0.146 263.5);
Tailwind
colors: {
  custom: {
    50: '#6e75b6',
    500: '#1d4297',
    950: '#000000',
  },
}
SCSS
$custom: #1d4297;
$custom-light: #6e75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4297",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 221.803,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40678,
    "c": 0.14608,
    "h": 263.5
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#1D4297
secondary
#C09E4F
accent
#B63DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4297

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

Preview Lab → · Contrast checker → · Palette generator →

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