#1F4F77#1F4F77

#1F4F77 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.5% C 0.085 H 246.9°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#1F4F77
RGBrgb(31, 79, 119)
HSLhsl(207, 59%, 29%)
HSVhsv(207, 74%, 47%)
CMYKcmyk(73.9%, 33.6%, 0%, 53.3%)
CIE-LABlab(32.29, -1.71, -27.49)
CIE-LCHlch(32.29, 27.55, 266.44°)
OKLaboklab(41.5% -0.0332 -0.0779)
OKLCHoklch(41.5% 0.085 246.9)
XYZxyz(6.6896, 7.2144, 18.4892)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4F77 #77471F
analogous
#1F7773 #1F4F77 #1F2377
triadic
#1F4F77 #771F4F #4F771F
tetradic
#1F4F77 #731F77 #77471F #23771F
square
#1F4F77 #731F77 #77471F #23771F
split-complementary
#1F4F77 #771F23 #77731F
monochromatic
#061018 #122F46 #1F4F77 #2C6FA8 #438FCE

Accessibility & contrast

On white

8.60
#1F4F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1F4F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4F77
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4F77#FFFFFF#000000##FFFFFF
##1F4F771.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5179
Deuteranopia (green-blind)
#314876
Tritanopia (blue-blind)
#00595D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f4f77;
/* rgb */ color: rgb(31, 79, 119);
/* oklch */ color: oklch(41.5% 0.085 246.9);
Tailwind
colors: {
  custom: {
    50: '#67809e',
    500: '#1f4f77',
    950: '#000000',
  },
}
SCSS
$custom: #1f4f77;
$custom-light: #67809e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4f77",
  "rgb": {
    "r": 31,
    "g": 79,
    "b": 119
  },
  "hsl": {
    "h": 207.273,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41499,
    "c": 0.08468,
    "h": 246.9
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#1F4F77
secondary
#AB7447
accent
#8D46E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #1F4F77

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

Preview Lab → · Contrast checker → · Palette generator →

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