#1F447A#1F447A

#1F447A is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.101 H 258.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#1F447A
RGBrgb(31, 68, 122)
HSLhsl(216, 59%, 30%)
HSVhsv(216, 75%, 48%)
CMYKcmyk(74.6%, 44.3%, 0%, 52.2%)
CIE-LABlab(28.98, 6.79, -34.62)
CIE-LCHlch(28.98, 35.28, 281.09°)
OKLaboklab(38.97% -0.021 -0.099)
OKLCHoklch(38.97% 0.101 258)
XYZxyz(6.1438, 5.8300, 19.2101)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F447A #7A551F
analogous
#1F727A #1F447A #271F7A
triadic
#1F447A #7A1F44 #447A1F
tetradic
#1F447A #7A1F72 #7A551F #1F7A27
square
#1F447A #7A1F72 #7A551F #1F7A27
split-complementary
#1F447A #7A271F #727A1F
monochromatic
#060E18 #132949 #1F447A #2B5FAB #447DCF

Accessibility & contrast

On white

9.69
#1F447A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1F447A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F447A
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F447A#FFFFFF#000000##FFFFFF
##1F447A1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497C
Deuteranopia (green-blind)
#1A4079
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f447a;
/* rgb */ color: rgb(31, 68, 122);
/* oklch */ color: oklch(39.0% 0.101 258.0);
Tailwind
colors: {
  custom: {
    50: '#6777a1',
    500: '#1f447a',
    950: '#000000',
  },
}
SCSS
$custom: #1f447a;
$custom-light: #6777a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f447a",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 122
  },
  "hsl": {
    "h": 215.604,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.38969,
    "c": 0.10116,
    "h": 258
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#1F447A
secondary
#AD8447
accent
#A345E3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #1F447A

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

Preview Lab → · Contrast checker → · Palette generator →

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