#1F5079#1F5079

#1F5079 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.086 H 247.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#1F5079
RGBrgb(31, 80, 121)
HSLhsl(207, 59%, 30%)
HSVhsv(207, 74%, 47%)
CMYKcmyk(74.4%, 33.9%, 0%, 52.5%)
CIE-LABlab(32.72, -1.58, -28.06)
CIE-LCHlch(32.72, 28.11, 266.78°)
OKLaboklab(41.87% -0.0336 -0.0795)
OKLCHoklch(41.87% 0.086 247.1)
XYZxyz(6.8836, 7.4083, 19.1526)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5079 #79481F
analogous
#1F7975 #1F5079 #1F2379
triadic
#1F5079 #791F50 #50791F
tetradic
#1F5079 #751F79 #79481F #23791F
square
#1F5079 #751F79 #79481F #23791F
split-complementary
#1F5079 #791F23 #79751F
monochromatic
#061018 #133048 #1F5079 #2B70AA #438FCF

Accessibility & contrast

On white

8.46
#1F5079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1F5079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5079
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5079#FFFFFF#000000##FFFFFF
##1F50791.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527B
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f5079;
/* rgb */ color: rgb(31, 80, 121);
/* oklch */ color: oklch(41.9% 0.086 247.1);
Tailwind
colors: {
  custom: {
    50: '#6780a0',
    500: '#1f5079',
    950: '#000000',
  },
}
SCSS
$custom: #1f5079;
$custom-light: #6780a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5079",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 121
  },
  "hsl": {
    "h": 207.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41872,
    "c": 0.08637,
    "h": 247.1
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#1F5079
secondary
#AC7547
accent
#8D45E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #1F5079

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

Preview Lab → · Contrast checker → · Palette generator →

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