#1F4F74#1F4F74

#1F4F74 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.3% C 0.081 H 245.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#1F4F74
RGBrgb(31, 79, 116)
HSLhsl(206, 58%, 29%)
HSVhsv(206, 73%, 45%)
CMYKcmyk(73.3%, 31.9%, 0%, 54.5%)
CIE-LABlab(32.13, -2.87, -25.87)
CIE-LCHlch(32.13, 26.03, 263.68°)
OKLaboklab(41.32% -0.0342 -0.0732)
OKLCHoklch(41.32% 0.081 245)
XYZxyz(6.5122, 7.1435, 17.5552)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4F74 #74441F
analogous
#1F746F #1F4F74 #1F2574
triadic
#1F4F74 #741F4F #4F741F
tetradic
#1F4F74 #6F1F74 #74441F #25741F
square
#1F4F74 #6F1F74 #74441F #25741F
split-complementary
#1F4F74 #741F25 #746F1F
monochromatic
#061018 #122E44 #1F4F74 #2C70A4 #4190CC

Accessibility & contrast

On white

8.65
#1F4F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1F4F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4F74
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4F74#FFFFFF#000000##FFFFFF
##1F4F741.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5076
Deuteranopia (green-blind)
#334873
Tritanopia (blue-blind)
#00585C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f4f74;
/* rgb */ color: rgb(31, 79, 116);
/* oklch */ color: oklch(41.3% 0.081 245.0);
Tailwind
colors: {
  custom: {
    50: '#66809c',
    500: '#1f4f74',
    950: '#000000',
  },
}
SCSS
$custom: #1f4f74;
$custom-light: #66809c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4f74",
  "rgb": {
    "r": 31,
    "g": 79,
    "b": 116
  },
  "hsl": {
    "h": 206.118,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41321,
    "c": 0.08077,
    "h": 245
  },
  "luminance": 0.07144
}

Semantic roles & 50–950 ramp

primary
#1F4F74
secondary
#A87147
accent
#8A47E1
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1F4F74

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

Preview Lab → · Contrast checker → · Palette generator →

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