#1F5074#1F5074

#1F5074 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.6% C 0.080 H 243.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#1F5074
RGBrgb(31, 80, 116)
HSLhsl(205, 58%, 29%)
HSVhsv(205, 73%, 45%)
CMYKcmyk(73.3%, 31%, 0%, 54.5%)
CIE-LABlab(32.46, -3.51, -25.36)
CIE-LCHlch(32.46, 25.60, 262.13°)
OKLaboklab(41.58% -0.0353 -0.0717)
OKLCHoklch(41.58% 0.08 243.8)
XYZxyz(6.5849, 7.2889, 17.5795)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5074 #74431F
analogous
#1F746E #1F5074 #1F2674
triadic
#1F5074 #741F50 #50741F
tetradic
#1F5074 #6E1F74 #74431F #26741F
square
#1F5074 #6E1F74 #74431F #26741F
split-complementary
#1F5074 #741F26 #746E1F
monochromatic
#061118 #122F44 #1F5074 #2C71A4 #4191CC

Accessibility & contrast

On white

8.54
#1F5074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1F5074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5074
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5074#FFFFFF#000000##FFFFFF
##1F50741.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405176
Deuteranopia (green-blind)
#344973
Tritanopia (blue-blind)
#00595D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f5074;
/* rgb */ color: rgb(31, 80, 116);
/* oklch */ color: oklch(41.6% 0.080 243.8);
Tailwind
colors: {
  custom: {
    50: '#66809c',
    500: '#1f5074',
    950: '#000000',
  },
}
SCSS
$custom: #1f5074;
$custom-light: #66809c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5074",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 116
  },
  "hsl": {
    "h": 205.412,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41577,
    "c": 0.07989,
    "h": 243.8
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#1F5074
secondary
#A87047
accent
#8847E1
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1F5074

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

Preview Lab → · Contrast checker → · Palette generator →

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