#1F5077#1F5077

#1F5077 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.084 H 245.8°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#1F5077
RGBrgb(31, 80, 119)
HSLhsl(207, 59%, 29%)
HSVhsv(207, 74%, 47%)
CMYKcmyk(73.9%, 32.8%, 0%, 53.3%)
CIE-LABlab(32.61, -2.35, -26.99)
CIE-LCHlch(32.61, 27.09, 265.02°)
OKLaboklab(41.75% -0.0343 -0.0764)
OKLCHoklch(41.75% 0.084 245.8)
XYZxyz(6.7622, 7.3598, 18.5134)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5077 #77461F
analogous
#1F7772 #1F5077 #1F2477
triadic
#1F5077 #771F50 #50771F
tetradic
#1F5077 #721F77 #77461F #24771F
square
#1F5077 #721F77 #77461F #24771F
split-complementary
#1F5077 #771F24 #77721F
monochromatic
#061018 #122F46 #1F5077 #2C71A8 #4390CE

Accessibility & contrast

On white

8.49
#1F5077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1F5077 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5077
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5077#FFFFFF#000000##FFFFFF
##1F50771.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5179
Deuteranopia (green-blind)
#324976
Tritanopia (blue-blind)
#00595E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f5077;
/* rgb */ color: rgb(31, 80, 119);
/* oklch */ color: oklch(41.8% 0.084 245.8);
Tailwind
colors: {
  custom: {
    50: '#67809e',
    500: '#1f5077',
    950: '#000000',
  },
}
SCSS
$custom: #1f5077;
$custom-light: #67809e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5077",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 119
  },
  "hsl": {
    "h": 206.591,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41753,
    "c": 0.08374,
    "h": 245.8
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#1F5077
secondary
#AB7347
accent
#8B46E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #1F5077

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

Preview Lab → · Contrast checker → · Palette generator →

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