#1F4D74#1F4D74

#1F4D74 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.8% C 0.083 H 247.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#1F4D74
RGBrgb(31, 77, 116)
HSLhsl(208, 58%, 29%)
HSVhsv(208, 73%, 45%)
CMYKcmyk(73.3%, 33.6%, 0%, 54.5%)
CIE-LABlab(31.48, -1.58, -26.89)
CIE-LCHlch(31.48, 26.93, 266.65°)
OKLaboklab(40.81% -0.032 -0.0762)
OKLCHoklch(40.81% 0.083 247.2)
XYZxyz(6.3701, 6.8593, 17.5079)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4D74 #74461F
analogous
#1F7471 #1F4D74 #1F2374
triadic
#1F4D74 #741F4D #4D741F
tetradic
#1F4D74 #711F74 #74461F #23741F
square
#1F4D74 #711F74 #74461F #23741F
split-complementary
#1F4D74 #741F23 #74711F
monochromatic
#061018 #122D44 #1F4D74 #2C6DA4 #418CCC

Accessibility & contrast

On white

8.85
#1F4D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1F4D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4D74
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4D74#FFFFFF#000000##FFFFFF
##1F4D741.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F76
Deuteranopia (green-blind)
#304673
Tritanopia (blue-blind)
#00565B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f4d74;
/* rgb */ color: rgb(31, 77, 116);
/* oklch */ color: oklch(40.8% 0.083 247.2);
Tailwind
colors: {
  custom: {
    50: '#667e9c',
    500: '#1f4d74',
    950: '#000000',
  },
}
SCSS
$custom: #1f4d74;
$custom-light: #667e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4d74",
  "rgb": {
    "r": 31,
    "g": 77,
    "b": 116
  },
  "hsl": {
    "h": 207.529,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40812,
    "c": 0.08262,
    "h": 247.2
  },
  "luminance": 0.0686
}

Semantic roles & 50–950 ramp

primary
#1F4D74
secondary
#A87347
accent
#8E47E1
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1F4D74

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

Preview Lab → · Contrast checker → · Palette generator →

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