#1D4294#1D4294

#1D4294 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.142 H 263.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#1D4294
RGBrgb(29, 66, 148)
HSLhsl(221, 67%, 35%)
HSVhsv(221, 80%, 58%)
CMYKcmyk(80.4%, 55.4%, 0%, 42%)
CIE-LABlab(30.14, 18.37, -48.85)
CIE-LCHlch(30.14, 52.19, 290.61°)
OKLaboklab(40.43% -0.0168 -0.1409)
OKLCHoklch(40.43% 0.142 263.2)
XYZxyz(7.7983, 6.2948, 28.8153)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4294 #946F1D
analogous
#1D7D94 #1D4294 #341D94
triadic
#1D4294 #941D42 #42941D
tetradic
#1D4294 #941D7D #946F1D #1D9434
square
#1D4294 #941D7D #946F1D #1D9434
split-complementary
#1D4294 #94341D #7D941D
monochromatic
#09142E #132B61 #1D4294 #2759C7 #4F7BDC

Accessibility & contrast

On white

9.30
#1D4294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1D4294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4294
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4294#FFFFFF#000000##FFFFFF
##1D42941.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4294;
/* rgb */ color: rgb(29, 66, 148);
/* oklch */ color: oklch(40.4% 0.142 263.2);
Tailwind
colors: {
  custom: {
    50: '#6d75b4',
    500: '#1d4294',
    950: '#000000',
  },
}
SCSS
$custom: #1d4294;
$custom-light: #6d75b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4294",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 221.345,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40427,
    "c": 0.14187,
    "h": 263.2
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#1D4294
secondary
#BF9C4E
accent
#B53EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4294

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

Preview Lab → · Contrast checker → · Palette generator →

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