#1F447C#1F447C

#1F447C is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.1% C 0.104 H 258.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#1F447C
RGBrgb(31, 68, 124)
HSLhsl(216, 60%, 30%)
HSVhsv(216, 75%, 49%)
CMYKcmyk(75%, 45.2%, 0%, 51.4%)
CIE-LABlab(29.11, 7.59, -35.67)
CIE-LCHlch(29.11, 36.47, 282.01°)
OKLaboklab(39.11% -0.0206 -0.102)
OKLCHoklch(39.11% 0.104 258.6)
XYZxyz(6.2690, 5.8801, 19.8695)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F447C #7C571F
analogous
#1F727C #1F447C #281F7C
triadic
#1F447C #7C1F44 #447C1F
tetradic
#1F447C #7C1F72 #7C571F #1F7C28
square
#1F447C #7C1F72 #7C571F #1F7C28
split-complementary
#1F447C #7C281F #727C1F
monochromatic
#070E1A #13294B #1F447C #2B5FAD #457CD0

Accessibility & contrast

On white

9.65
#1F447C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F447C
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F447C#FFFFFF#000000##FFFFFF
##1F447C1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497E
Deuteranopia (green-blind)
#17417B
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f447c;
/* rgb */ color: rgb(31, 68, 124);
/* oklch */ color: oklch(39.1% 0.104 258.6);
Tailwind
colors: {
  custom: {
    50: '#6877a2',
    500: '#1f447c',
    950: '#000000',
  },
}
SCSS
$custom: #1f447c;
$custom-light: #6877a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f447c",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 124
  },
  "hsl": {
    "h": 216.129,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3911,
    "c": 0.10409,
    "h": 258.6
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#1F447C
secondary
#AF8648
accent
#A445E3
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1F447C

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

Preview Lab → · Contrast checker → · Palette generator →

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