#1F447F#1F447F

#1F447F is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.108 H 259.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#1F447F
RGBrgb(31, 68, 127)
HSLhsl(217, 61%, 31%)
HSVhsv(217, 76%, 50%)
CMYKcmyk(75.6%, 46.5%, 0%, 50.2%)
CIE-LABlab(29.30, 8.79, -37.23)
CIE-LCHlch(29.30, 38.25, 283.28°)
OKLaboklab(39.32% -0.0199 -0.1066)
OKLCHoklch(39.32% 0.108 259.4)
XYZxyz(6.4616, 5.9571, 20.8839)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F447F #7F5A1F
analogous
#1F747F #1F447F #2A1F7F
triadic
#1F447F #7F1F44 #447F1F
tetradic
#1F447F #7F1F74 #7F5A1F #1F7F2A
square
#1F447F #7F1F74 #7F5A1F #1F7F2A
split-complementary
#1F447F #7F2A1F #747F1F
monochromatic
#070F1D #132A4E #1F447F #2B5EB0 #467CD2

Accessibility & contrast

On white

9.58
#1F447F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F447F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F447F#FFFFFF#000000##FFFFFF
##1F447F1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#13417E
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f447f;
/* rgb */ color: rgb(31, 68, 127);
/* oklch */ color: oklch(39.3% 0.108 259.4);
Tailwind
colors: {
  custom: {
    50: '#6977a4',
    500: '#1f447f',
    950: '#000000',
  },
}
SCSS
$custom: #1f447f;
$custom-light: #6977a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f447f",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 127
  },
  "hsl": {
    "h": 216.875,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39325,
    "c": 0.10847,
    "h": 259.4
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F447F

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

Preview Lab → · Contrast checker → · Palette generator →

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