#1F479C#1F479C

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

Color values

HEX#1F479C
RGBrgb(31, 71, 156)
HSLhsl(221, 67%, 37%)
HSVhsv(221, 80%, 61%)
CMYKcmyk(80.1%, 54.5%, 0%, 38.8%)
CIE-LABlab(32.25, 18.36, -50.29)
CIE-LCHlch(32.25, 53.54, 290.06°)
OKLaboklab(42.24% -0.0183 -0.145)
OKLCHoklch(42.24% 0.146 262.8)
XYZxyz(8.8169, 7.1971, 32.3705)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F479C #9C741F
analogous
#1F869C #1F479C #361F9C
triadic
#1F479C #9C1F47 #479C1F
tetradic
#1F479C #9C1F86 #9C741F #1F9C36
square
#1F479C #9C1F86 #9C741F #1F9C36
split-complementary
#1F479C #9C361F #869C1F
monochromatic
#0B1936 #153069 #1F479C #295ECF #5883DE

Accessibility & contrast

On white

8.61
#1F479C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1F479C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F479C
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F479C#FFFFFF#000000##FFFFFF
##1F479C1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f479c;
/* rgb */ color: rgb(31, 71, 156);
/* oklch */ color: oklch(42.2% 0.146 262.8);
Tailwind
colors: {
  custom: {
    50: '#6f79ba',
    500: '#1f479c',
    950: '#000000',
  },
}
SCSS
$custom: #1f479c;
$custom-light: #6f79ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f479c",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 220.8,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42237,
    "c": 0.14614,
    "h": 262.8
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#1F479C
secondary
#C19F55
accent
#B33EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1F479C

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

Preview Lab → · Contrast checker → · Palette generator →

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