#1F447E#1F447E

#1F447E is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.107 H 259.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#1F447E
RGBrgb(31, 68, 126)
HSLhsl(217, 61%, 31%)
HSVhsv(217, 75%, 49%)
CMYKcmyk(75.4%, 46%, 0%, 50.6%)
CIE-LABlab(29.24, 8.39, -36.71)
CIE-LCHlch(29.24, 37.66, 282.87°)
OKLaboklab(39.25% -0.0201 -0.1051)
OKLCHoklch(39.25% 0.107 259.1)
XYZxyz(6.3967, 5.9312, 20.5423)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F447E #7E591F
analogous
#1F737E #1F447E #291F7E
triadic
#1F447E #7E1F44 #447E1F
tetradic
#1F447E #7E1F73 #7E591F #1F7E29
square
#1F447E #7E1F73 #7E591F #1F7E29
split-complementary
#1F447E #7E291F #737E1F
monochromatic
#070F1C #13294D #1F447E #2B5FAF #467CD1

Accessibility & contrast

On white

9.60
#1F447E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1F447E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F447E
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F447E#FFFFFF#000000##FFFFFF
##1F447E1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#14417D
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f447e;
/* rgb */ color: rgb(31, 68, 126);
/* oklch */ color: oklch(39.3% 0.107 259.1);
Tailwind
colors: {
  custom: {
    50: '#6877a4',
    500: '#1f447e',
    950: '#000000',
  },
}
SCSS
$custom: #1f447e;
$custom-light: #6877a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f447e",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 126
  },
  "hsl": {
    "h": 216.632,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39253,
    "c": 0.10701,
    "h": 259.1
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#1F447E
secondary
#B18848
accent
#A644E4
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1F447E

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

Preview Lab → · Contrast checker → · Palette generator →

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