#1D479E#1D479E

#1D479E is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.149 H 262.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#1D479E
RGBrgb(29, 71, 158)
HSLhsl(220, 69%, 37%)
HSVhsv(220, 82%, 62%)
CMYKcmyk(81.6%, 55.1%, 0%, 38%)
CIE-LABlab(32.34, 18.95, -51.37)
CIE-LCHlch(32.34, 54.75, 290.25°)
OKLaboklab(42.33% -0.0195 -0.1482)
OKLCHoklch(42.33% 0.149 262.5)
XYZxyz(8.9293, 7.2352, 33.2671)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D479E #9E741D
analogous
#1D889E #1D479E #341D9E
triadic
#1D479E #9E1D47 #479E1D
tetradic
#1D479E #9E1D88 #9E741D #1D9E34
square
#1D479E #9E1D88 #9E741D #1D9E34
split-complementary
#1D479E #9E341D #889E1D
monochromatic
#0A1937 #14306A #1D479E #265ED2 #5683E0

Accessibility & contrast

On white

8.58
#1D479E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D479E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D479E#FFFFFF#000000##FFFFFF
##1D479E1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d479e;
/* rgb */ color: rgb(29, 71, 158);
/* oklch */ color: oklch(42.3% 0.149 262.5);
Tailwind
colors: {
  custom: {
    50: '#6f79bb',
    500: '#1d479e',
    950: '#000000',
  },
}
SCSS
$custom: #1d479e;
$custom-light: #6f79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d479e",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 220.465,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42331,
    "c": 0.14946,
    "h": 262.5
  },
  "luminance": 0.07236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D479E

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

Preview Lab → · Contrast checker → · Palette generator →

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