#1D4F95#1D4F95

#1D4F95 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.4% C 0.127 H 257.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#1D4F95
RGBrgb(29, 79, 149)
HSLhsl(215, 67%, 35%)
HSVhsv(215, 81%, 58%)
CMYKcmyk(80.5%, 47%, 0%, 41.6%)
CIE-LABlab(34.03, 9.91, -43.18)
CIE-LCHlch(34.03, 44.31, 282.93°)
OKLaboklab(43.42% -0.027 -0.1239)
OKLCHoklch(43.42% 0.127 257.7)
XYZxyz(8.7255, 8.0221, 29.5165)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F95 #95631D
analogous
#1D8B95 #1D4F95 #271D95
triadic
#1D4F95 #951D4F #4F951D
tetradic
#1D4F95 #951D8B #95631D #1D9527
square
#1D4F95 #951D8B #95631D #1D9527
split-complementary
#1D4F95 #95271D #8B951D
monochromatic
#09192F #133462 #1D4F95 #276AC8 #508ADD

Accessibility & contrast

On white

8.06
#1D4F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1D4F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4F95
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F95#FFFFFF#000000##FFFFFF
##1D4F951.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295698
Deuteranopia (green-blind)
#0B4B94
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d4f95;
/* rgb */ color: rgb(29, 79, 149);
/* oklch */ color: oklch(43.4% 0.127 257.7);
Tailwind
colors: {
  custom: {
    50: '#6d7fb5',
    500: '#1d4f95',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f95;
$custom-light: #6d7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f95",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 149
  },
  "hsl": {
    "h": 215,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43421,
    "c": 0.12684,
    "h": 257.7
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#1D4F95
secondary
#C0904E
accent
#A23DEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1D4F95

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

Preview Lab → · Contrast checker → · Palette generator →

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