#1F5673#1F5673

#1F5673 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.1% C 0.074 H 235.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#1F5673
RGBrgb(31, 86, 115)
HSLhsl(201, 58%, 29%)
HSVhsv(201, 73%, 45%)
CMYKcmyk(73%, 25.2%, 0%, 54.9%)
CIE-LABlab(34.36, -7.64, -21.76)
CIE-LCHlch(34.36, 23.06, 250.66°)
OKLaboklab(43.07% -0.0422 -0.0612)
OKLCHoklch(43.07% 0.074 235.4)
XYZxyz(6.9862, 8.1839, 17.4278)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5673 #733C1F
analogous
#1F7366 #1F5673 #1F2C73
triadic
#1F5673 #731F56 #56731F
tetradic
#1F5673 #661F73 #733C1F #2C731F
square
#1F5673 #661F73 #733C1F #2C731F
split-complementary
#1F5673 #731F2C #73661F
monochromatic
#061218 #123243 #1F5673 #2C7AA3 #419CCC

Accessibility & contrast

On white

7.96
#1F5673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1F5673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5673
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5673#FFFFFF#000000##FFFFFF
##1F56731.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485574
Deuteranopia (green-blind)
#3D4D73
Tritanopia (blue-blind)
#005E60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5673;
/* rgb */ color: rgb(31, 86, 115);
/* oklch */ color: oklch(43.1% 0.074 235.4);
Tailwind
colors: {
  custom: {
    50: '#66859b',
    500: '#1f5673',
    950: '#000000',
  },
}
SCSS
$custom: #1f5673;
$custom-light: #66859b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5673",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 115
  },
  "hsl": {
    "h": 200.714,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.43073,
    "c": 0.07435,
    "h": 235.4
  },
  "luminance": 0.08185
}

Semantic roles & 50–950 ramp

primary
#1F5673
secondary
#A76847
accent
#7C47E1
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5673

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

Preview Lab → · Contrast checker → · Palette generator →

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