#1F4D76#1F4D76

#1F4D76 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.9% C 0.085 H 248.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#1F4D76
RGBrgb(31, 77, 118)
HSLhsl(208, 58%, 29%)
HSVhsv(208, 74%, 46%)
CMYKcmyk(73.7%, 34.7%, 0%, 53.7%)
CIE-LABlab(31.59, -0.80, -27.97)
CIE-LCHlch(31.59, 27.98, 268.36°)
OKLaboklab(40.93% -0.0314 -0.0793)
OKLCHoklch(40.93% 0.085 248.4)
XYZxyz(6.4877, 6.9064, 18.1272)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4D76 #76481F
analogous
#1F7674 #1F4D76 #1F2276
triadic
#1F4D76 #761F4D #4D761F
tetradic
#1F4D76 #741F76 #76481F #22761F
square
#1F4D76 #741F76 #76481F #22761F
split-complementary
#1F4D76 #761F22 #76741F
monochromatic
#061018 #122D46 #1F4D76 #2C6DA6 #428CCD

Accessibility & contrast

On white

8.82
#1F4D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1F4D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4D76
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4D76#FFFFFF#000000##FFFFFF
##1F4D761.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F78
Deuteranopia (green-blind)
#2E4775
Tritanopia (blue-blind)
#00575C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f4d76;
/* rgb */ color: rgb(31, 77, 118);
/* oklch */ color: oklch(40.9% 0.085 248.4);
Tailwind
colors: {
  custom: {
    50: '#677e9d',
    500: '#1f4d76',
    950: '#000000',
  },
}
SCSS
$custom: #1f4d76;
$custom-light: #677e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4d76",
  "rgb": {
    "r": 31,
    "g": 77,
    "b": 118
  },
  "hsl": {
    "h": 208.276,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40932,
    "c": 0.0853,
    "h": 248.4
  },
  "luminance": 0.06907
}

Semantic roles & 50–950 ramp

primary
#1F4D76
secondary
#AA7647
accent
#8F46E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1F4D76

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

Preview Lab → · Contrast checker → · Palette generator →

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