#1F5076#1F5076

#1F5076 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.082 H 245.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#1F5076
RGBrgb(31, 80, 118)
HSLhsl(206, 58%, 29%)
HSVhsv(206, 74%, 46%)
CMYKcmyk(73.7%, 32.2%, 0%, 53.7%)
CIE-LABlab(32.56, -2.74, -26.44)
CIE-LCHlch(32.56, 26.59, 264.09°)
OKLaboklab(41.69% -0.0346 -0.0748)
OKLCHoklch(41.69% 0.082 245.2)
XYZxyz(6.7025, 7.3359, 18.1988)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5076 #76451F
analogous
#1F7671 #1F5076 #1F2576
triadic
#1F5076 #761F50 #50761F
tetradic
#1F5076 #711F76 #76451F #25761F
square
#1F5076 #711F76 #76451F #25761F
split-complementary
#1F5076 #761F25 #76711F
monochromatic
#061018 #122F46 #1F5076 #2C71A6 #4291CD

Accessibility & contrast

On white

8.51
#1F5076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F5076
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5076#FFFFFF#000000##FFFFFF
##1F50761.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5178
Deuteranopia (green-blind)
#334975
Tritanopia (blue-blind)
#00595D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f5076;
/* rgb */ color: rgb(31, 80, 118);
/* oklch */ color: oklch(41.7% 0.082 245.2);
Tailwind
colors: {
  custom: {
    50: '#67809d',
    500: '#1f5076',
    950: '#000000',
  },
}
SCSS
$custom: #1f5076;
$custom-light: #67809d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5076",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 118
  },
  "hsl": {
    "h": 206.207,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41694,
    "c": 0.08245,
    "h": 245.2
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

primary
#1F5076
secondary
#AA7247
accent
#8A46E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1F5076

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

Preview Lab → · Contrast checker → · Palette generator →

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