#1F4F76#1F4F76

#1F4F76 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.4% C 0.083 H 246.3°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#1F4F76
RGBrgb(31, 79, 118)
HSLhsl(207, 58%, 29%)
HSVhsv(207, 74%, 46%)
CMYKcmyk(73.7%, 33.1%, 0%, 53.7%)
CIE-LABlab(32.24, -2.10, -26.95)
CIE-LCHlch(32.24, 27.03, 265.55°)
OKLaboklab(41.44% -0.0335 -0.0763)
OKLCHoklch(41.44% 0.083 246.3)
XYZxyz(6.6298, 7.1905, 18.1745)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4F76 #76461F
analogous
#1F7672 #1F4F76 #1F2376
triadic
#1F4F76 #761F4F #4F761F
tetradic
#1F4F76 #721F76 #76461F #23761F
square
#1F4F76 #721F76 #76461F #23761F
split-complementary
#1F4F76 #761F23 #76721F
monochromatic
#061018 #122F46 #1F4F76 #2C6FA6 #428FCD

Accessibility & contrast

On white

8.61
#1F4F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4F76
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4F76#FFFFFF#000000##FFFFFF
##1F4F761.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5078
Deuteranopia (green-blind)
#314875
Tritanopia (blue-blind)
#00585D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f4f76;
/* rgb */ color: rgb(31, 79, 118);
/* oklch */ color: oklch(41.4% 0.083 246.3);
Tailwind
colors: {
  custom: {
    50: '#67809d',
    500: '#1f4f76',
    950: '#000000',
  },
}
SCSS
$custom: #1f4f76;
$custom-light: #67809d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4f76",
  "rgb": {
    "r": 31,
    "g": 79,
    "b": 118
  },
  "hsl": {
    "h": 206.897,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41439,
    "c": 0.08337,
    "h": 246.3
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#1F4F76
secondary
#AA7347
accent
#8C46E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1F4F76

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

Preview Lab → · Contrast checker → · Palette generator →

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