#1F479B#1F479B

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

Color values

HEX#1F479B
RGBrgb(31, 71, 155)
HSLhsl(221, 67%, 36%)
HSVhsv(221, 80%, 61%)
CMYKcmyk(80%, 54.2%, 0%, 39.2%)
CIE-LABlab(32.18, 17.96, -49.81)
CIE-LCHlch(32.18, 52.95, 289.83°)
OKLaboklab(42.16% -0.0184 -0.1436)
OKLCHoklch(42.16% 0.145 262.7)
XYZxyz(8.7326, 7.1633, 31.9264)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F479B #9B731F
analogous
#1F859B #1F479B #351F9B
triadic
#1F479B #9B1F47 #479B1F
tetradic
#1F479B #9B1F85 #9B731F #1F9B35
square
#1F479B #9B1F85 #9B731F #1F9B35
split-complementary
#1F479B #9B351F #859B1F
monochromatic
#0B1835 #153068 #1F479B #295ECE #5782DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F479B#FFFFFF#000000##FFFFFF
##1F479B1.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)
#04529E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f479b;
/* rgb */ color: rgb(31, 71, 155);
/* oklch */ color: oklch(42.2% 0.145 262.7);
Tailwind
colors: {
  custom: {
    50: '#6f79b9',
    500: '#1f479b',
    950: '#000000',
  },
}
SCSS
$custom: #1f479b;
$custom-light: #6f79b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f479b",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 220.645,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42156,
    "c": 0.14474,
    "h": 262.7
  },
  "luminance": 0.07164
}

Semantic roles & 50–950 ramp

primary
#1F479B
secondary
#C19E55
accent
#B23EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #1F479B

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

Preview Lab → · Contrast checker → · Palette generator →

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