#1D479C#1D479C

#1D479C is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.147 H 262.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#1D479C
RGBrgb(29, 71, 156)
HSLhsl(220, 69%, 36%)
HSVhsv(220, 81%, 61%)
CMYKcmyk(81.4%, 54.5%, 0%, 38.8%)
CIE-LABlab(32.18, 18.15, -50.40)
CIE-LCHlch(32.18, 53.57, 289.80°)
OKLaboklab(42.17% -0.0197 -0.1454)
OKLCHoklch(42.17% 0.147 262.3)
XYZxyz(8.7585, 7.1669, 32.3678)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D479C #9C721D
analogous
#1D879C #1D479C #321D9C
triadic
#1D479C #9C1D47 #479C1D
tetradic
#1D479C #9C1D87 #9C721D #1D9C32
square
#1D479C #9C1D87 #9C721D #1D9C32
split-complementary
#1D479C #9C321D #879C1D
monochromatic
#0A1835 #133068 #1D479C #275ED0 #5482DF

Accessibility & contrast

On white

8.63
#1D479C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D479C
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D479C#FFFFFF#000000##FFFFFF
##1D479C1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d479c;
/* rgb */ color: rgb(29, 71, 156);
/* oklch */ color: oklch(42.2% 0.147 262.3);
Tailwind
colors: {
  custom: {
    50: '#6f79ba',
    500: '#1d479c',
    950: '#000000',
  },
}
SCSS
$custom: #1d479c;
$custom-light: #6f79ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d479c",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 220.157,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42167,
    "c": 0.14669,
    "h": 262.3
  },
  "luminance": 0.07168
}

Semantic roles & 50–950 ramp

primary
#1D479C
secondary
#C29D52
accent
#B23CEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1D479C

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

Preview Lab → · Contrast checker → · Palette generator →

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