#1F4D72#1F4D72

#1F4D72 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.7% C 0.080 H 245.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#1F4D72
RGBrgb(31, 77, 114)
HSLhsl(207, 57%, 28%)
HSVhsv(207, 73%, 45%)
CMYKcmyk(72.8%, 32.5%, 0%, 55.3%)
CIE-LABlab(31.38, -2.35, -25.80)
CIE-LCHlch(31.38, 25.91, 264.80°)
OKLaboklab(40.69% -0.0327 -0.073)
OKLCHoklch(40.69% 0.08 245.9)
XYZxyz(6.2551, 6.8133, 16.9018)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4D72 #72441F
analogous
#1F726D #1F4D72 #1F2372
triadic
#1F4D72 #721F4D #4D721F
tetradic
#1F4D72 #6D1F72 #72441F #23721F
square
#1F4D72 #6D1F72 #72441F #23721F
split-complementary
#1F4D72 #721F23 #726D1F
monochromatic
#071018 #122C42 #1F4D72 #2C6DA2 #408DCB

Accessibility & contrast

On white

8.89
#1F4D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1F4D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4D72
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4D72#FFFFFF#000000##FFFFFF
##1F4D721.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E74
Deuteranopia (green-blind)
#314671
Tritanopia (blue-blind)
#00565A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f4d72;
/* rgb */ color: rgb(31, 77, 114);
/* oklch */ color: oklch(40.7% 0.080 245.9);
Tailwind
colors: {
  custom: {
    50: '#667e9a',
    500: '#1f4d72',
    950: '#000000',
  },
}
SCSS
$custom: #1f4d72;
$custom-light: #667e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4d72",
  "rgb": {
    "r": 31,
    "g": 77,
    "b": 114
  },
  "hsl": {
    "h": 206.747,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.07997,
    "h": 245.9
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#1F4D72
secondary
#A67147
accent
#8C47E0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1F4D72

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

Preview Lab → · Contrast checker → · Palette generator →

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