#1D479B#1D479B

#1D479B is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.145 H 262.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#1D479B
RGBrgb(29, 71, 155)
HSLhsl(220, 68%, 36%)
HSVhsv(220, 81%, 61%)
CMYKcmyk(81.3%, 54.2%, 0%, 39.2%)
CIE-LABlab(32.11, 17.75, -49.92)
CIE-LCHlch(32.11, 52.98, 289.57°)
OKLaboklab(42.09% -0.0198 -0.1439)
OKLCHoklch(42.09% 0.145 262.2)
XYZxyz(8.6742, 7.1332, 31.9237)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D479B #9B711D
analogous
#1D869B #1D479B #321D9B
triadic
#1D479B #9B1D47 #479B1D
tetradic
#1D479B #9B1D86 #9B711D #1D9B32
square
#1D479B #9B1D86 #9B711D #1D9B32
split-complementary
#1D479B #9B321D #869B1D
monochromatic
#0A1834 #132F67 #1D479B #275FCF #5382DF

Accessibility & contrast

On white

8.65
#1D479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1D479B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D479B
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D479B#FFFFFF#000000##FFFFFF
##1D479B1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03529E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d479b;
/* rgb */ color: rgb(29, 71, 155);
/* oklch */ color: oklch(42.1% 0.145 262.2);
Tailwind
colors: {
  custom: {
    50: '#6f79b9',
    500: '#1d479b',
    950: '#000000',
  },
}
SCSS
$custom: #1d479b;
$custom-light: #6f79b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d479b",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 220,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42086,
    "c": 0.14529,
    "h": 262.2
  },
  "luminance": 0.07134
}

Semantic roles & 50–950 ramp

primary
#1D479B
secondary
#C29D52
accent
#B13CEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D479B

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

Preview Lab → · Contrast checker → · Palette generator →

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