#1D479F#1D479F

#1D479F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.151 H 262.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#1D479F
RGBrgb(29, 71, 159)
HSLhsl(221, 69%, 37%)
HSVhsv(221, 82%, 62%)
CMYKcmyk(81.8%, 55.3%, 0%, 37.6%)
CIE-LABlab(32.41, 19.35, -51.84)
CIE-LCHlch(32.41, 55.34, 290.47°)
OKLaboklab(42.41% -0.0194 -0.1496)
OKLCHoklch(42.41% 0.151 262.6)
XYZxyz(9.0157, 7.2698, 33.7222)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D479F #9F751D
analogous
#1D889F #1D479F #341D9F
triadic
#1D479F #9F1D47 #479F1D
tetradic
#1D479F #9F1D88 #9F751D #1D9F34
square
#1D479F #9F1D88 #9F751D #1D9F34
split-complementary
#1D479F #9F341D #889F1D
monochromatic
#0A1937 #14306B #1D479F #265ED3 #5683E0

Accessibility & contrast

On white

8.56
#1D479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1D479F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D479F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D479F#FFFFFF#000000##FFFFFF
##1D479F1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d479f;
/* rgb */ color: rgb(29, 71, 159);
/* oklch */ color: oklch(42.4% 0.151 262.6);
Tailwind
colors: {
  custom: {
    50: '#7079bc',
    500: '#1d479f',
    950: '#000000',
  },
}
SCSS
$custom: #1d479f;
$custom-light: #7079bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d479f",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 220.615,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.15084,
    "h": 262.6
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#1D479F
secondary
#C4A054
accent
#B33CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1D479F

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

Preview Lab → · Contrast checker → · Palette generator →

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