#1F447B#1F447B

#1F447B is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.0% C 0.103 H 258.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#1F447B
RGBrgb(31, 68, 123)
HSLhsl(216, 60%, 30%)
HSVhsv(216, 75%, 48%)
CMYKcmyk(74.8%, 44.7%, 0%, 51.8%)
CIE-LABlab(29.04, 7.19, -35.15)
CIE-LCHlch(29.04, 35.87, 281.56°)
OKLaboklab(39.04% -0.0208 -0.1005)
OKLCHoklch(39.04% 0.103 258.3)
XYZxyz(6.2060, 5.8549, 19.5381)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F447B #7B561F
analogous
#1F727B #1F447B #281F7B
triadic
#1F447B #7B1F44 #447B1F
tetradic
#1F447B #7B1F72 #7B561F #1F7B28
square
#1F447B #7B1F72 #7B561F #1F7B28
split-complementary
#1F447B #7B281F #727B1F
monochromatic
#060E19 #13294A #1F447B #2B5FAC #447DD0

Accessibility & contrast

On white

9.67
#1F447B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F447B
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F447B#FFFFFF#000000##FFFFFF
##1F447B1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497D
Deuteranopia (green-blind)
#19417A
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f447b;
/* rgb */ color: rgb(31, 68, 123);
/* oklch */ color: oklch(39.0% 0.103 258.3);
Tailwind
colors: {
  custom: {
    50: '#6877a1',
    500: '#1f447b',
    950: '#000000',
  },
}
SCSS
$custom: #1f447b;
$custom-light: #6877a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f447b",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 123
  },
  "hsl": {
    "h": 215.87,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3904,
    "c": 0.10262,
    "h": 258.3
  },
  "luminance": 0.05856
}

Semantic roles & 50–950 ramp

primary
#1F447B
secondary
#AE8548
accent
#A345E3
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1F447B

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

Preview Lab → · Contrast checker → · Palette generator →

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