#1F4972#1F4972

#1F4972 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.7% C 0.084 H 250.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#1F4972
RGBrgb(31, 73, 114)
HSLhsl(210, 57%, 28%)
HSVhsv(210, 73%, 45%)
CMYKcmyk(72.8%, 36%, 0%, 55.3%)
CIE-LABlab(30.09, 0.26, -27.84)
CIE-LCHlch(30.09, 27.84, 270.54°)
OKLaboklab(39.68% -0.0283 -0.079)
OKLCHoklch(39.68% 0.084 250.3)
XYZxyz(5.9837, 6.2707, 16.8113)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4972 #72481F
analogous
#1F7271 #1F4972 #1F1F72
triadic
#1F4972 #721F49 #49721F
tetradic
#1F4972 #711F72 #72481F #1F721F
square
#1F4972 #711F72 #72481F #1F721F
split-complementary
#1F4972 #721F1F #72711F
monochromatic
#070F18 #122A42 #1F4972 #2C68A2 #4087CB

Accessibility & contrast

On white

9.32
#1F4972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1F4972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4972
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4972#FFFFFF#000000##FFFFFF
##1F49721.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B74
Deuteranopia (green-blind)
#2B4371
Tritanopia (blue-blind)
#005358
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f4972;
/* rgb */ color: rgb(31, 73, 114);
/* oklch */ color: oklch(39.7% 0.084 250.3);
Tailwind
colors: {
  custom: {
    50: '#667b9b',
    500: '#1f4972',
    950: '#000000',
  },
}
SCSS
$custom: #1f4972;
$custom-light: #667b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4972",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 114
  },
  "hsl": {
    "h": 209.639,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39676,
    "c": 0.08391,
    "h": 250.3
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#1F4972
secondary
#A67647
accent
#9347E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1F4972

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

Preview Lab → · Contrast checker → · Palette generator →

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