#1F447D#1F447D

#1F447D is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.2% C 0.106 H 258.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#1F447D
RGBrgb(31, 68, 125)
HSLhsl(216, 60%, 31%)
HSVhsv(216, 75%, 49%)
CMYKcmyk(75.2%, 45.6%, 0%, 51%)
CIE-LABlab(29.17, 7.99, -36.19)
CIE-LCHlch(29.17, 37.06, 282.45°)
OKLaboklab(39.18% -0.0203 -0.1036)
OKLCHoklch(39.18% 0.106 258.9)
XYZxyz(6.3325, 5.9055, 20.2042)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F447D #7D581F
analogous
#1F737D #1F447D #291F7D
triadic
#1F447D #7D1F44 #447D1F
tetradic
#1F447D #7D1F73 #7D581F #1F7D29
square
#1F447D #7D1F73 #7D581F #1F7D29
split-complementary
#1F447D #7D291F #737D1F
monochromatic
#070F1B #13294C #1F447D #2B5FAE #457CD1

Accessibility & contrast

On white

9.63
#1F447D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1F447D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F447D
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F447D#FFFFFF#000000##FFFFFF
##1F447D1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497F
Deuteranopia (green-blind)
#16417C
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f447d;
/* rgb */ color: rgb(31, 68, 125);
/* oklch */ color: oklch(39.2% 0.106 258.9);
Tailwind
colors: {
  custom: {
    50: '#6877a3',
    500: '#1f447d',
    950: '#000000',
  },
}
SCSS
$custom: #1f447d;
$custom-light: #6877a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f447d",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 125
  },
  "hsl": {
    "h": 216.383,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39181,
    "c": 0.10555,
    "h": 258.9
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#1F447D
secondary
#B08748
accent
#A544E3
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1F447D

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

Preview Lab → · Contrast checker → · Palette generator →

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