#1F5785#1F5785

#1F5785 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.3% C 0.095 H 247.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#1F5785
RGBrgb(31, 87, 133)
HSLhsl(207, 62%, 32%)
HSVhsv(207, 77%, 52%)
CMYKcmyk(76.7%, 34.6%, 0%, 47.8%)
CIE-LABlab(35.60, -1.42, -30.93)
CIE-LCHlch(35.60, 30.96, 267.37°)
OKLaboklab(44.35% -0.0371 -0.0878)
OKLCHoklch(44.35% 0.095 247.1)
XYZxyz(8.2053, 8.8002, 23.4519)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5785 #854D1F
analogous
#1F8580 #1F5785 #1F2485
triadic
#1F5785 #851F57 #57851F
tetradic
#1F5785 #801F85 #854D1F #24851F
square
#1F5785 #801F85 #854D1F #24851F
split-complementary
#1F5785 #851F24 #85801F
monochromatic
#081622 #133753 #1F5785 #2B77B7 #4A96D5

Accessibility & contrast

On white

7.61
#1F5785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#1F5785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5785
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5785#FFFFFF#000000##FFFFFF
##1F57851.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425987
Deuteranopia (green-blind)
#334F84
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f5785;
/* rgb */ color: rgb(31, 87, 133);
/* oklch */ color: oklch(44.3% 0.095 247.1);
Tailwind
colors: {
  custom: {
    50: '#6a86a9',
    500: '#1f5785',
    950: '#000000',
  },
}
SCSS
$custom: #1f5785;
$custom-light: #6a86a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5785",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 133
  },
  "hsl": {
    "h": 207.059,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44349,
    "c": 0.09534,
    "h": 247.1
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#1F5785
secondary
#B77A49
accent
#8C43E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5785

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

Preview Lab → · Contrast checker → · Palette generator →

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