#1F479A#1F479A

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

Color values

HEX#1F479A
RGBrgb(31, 71, 154)
HSLhsl(220, 66%, 36%)
HSVhsv(220, 80%, 60%)
CMYKcmyk(79.9%, 53.9%, 0%, 39.6%)
CIE-LABlab(32.10, 17.56, -49.32)
CIE-LCHlch(32.10, 52.36, 289.60°)
OKLaboklab(42.08% -0.0185 -0.1421)
OKLCHoklch(42.08% 0.143 262.6)
XYZxyz(8.6490, 7.1299, 31.4860)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F479A #9A721F
analogous
#1F859A #1F479A #351F9A
triadic
#1F479A #9A1F47 #479A1F
tetradic
#1F479A #9A1F85 #9A721F #1F9A35
square
#1F479A #9A1F85 #9A721F #1F9A35
split-complementary
#1F479A #9A351F #859A1F
monochromatic
#0A1834 #153067 #1F479A #295ECD #5682DD

Accessibility & contrast

On white

8.66
#1F479A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F479A
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F479A#FFFFFF#000000##FFFFFF
##1F479A1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07519D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f479a;
/* rgb */ color: rgb(31, 71, 154);
/* oklch */ color: oklch(42.1% 0.143 262.6);
Tailwind
colors: {
  custom: {
    50: '#6f79b8',
    500: '#1f479a',
    950: '#000000',
  },
}
SCSS
$custom: #1f479a;
$custom-light: #6f79b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f479a",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 154
  },
  "hsl": {
    "h": 220.488,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42075,
    "c": 0.14335,
    "h": 262.6
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#1F479A
secondary
#C19D54
accent
#B23EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1F479A

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

Preview Lab → · Contrast checker → · Palette generator →

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