#1F5985#1F5985

#1F5985 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.8% C 0.093 H 245.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#1F5985
RGBrgb(31, 89, 133)
HSLhsl(206, 62%, 32%)
HSVhsv(206, 77%, 52%)
CMYKcmyk(76.7%, 33.1%, 0%, 47.8%)
CIE-LABlab(36.23, -2.69, -29.93)
CIE-LCHlch(36.23, 30.05, 264.87°)
OKLaboklab(44.85% -0.0391 -0.0849)
OKLCHoklch(44.85% 0.093 245.2)
XYZxyz(8.3695, 9.1286, 23.5066)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5985 #854B1F
analogous
#1F857E #1F5985 #1F2685
triadic
#1F5985 #851F59 #59851F
tetradic
#1F5985 #7E1F85 #854B1F #26851F
square
#1F5985 #7E1F85 #854B1F #26851F
split-complementary
#1F5985 #851F26 #857E1F
monochromatic
#081722 #133853 #1F5985 #2B7AB7 #4A99D5

Accessibility & contrast

On white

7.43
#1F5985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#1F5985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5985
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5985#FFFFFF#000000##FFFFFF
##1F59851.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455A87
Deuteranopia (green-blind)
#365184
Tritanopia (blue-blind)
#006469
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f5985;
/* rgb */ color: rgb(31, 89, 133);
/* oklch */ color: oklch(44.8% 0.093 245.2);
Tailwind
colors: {
  custom: {
    50: '#6a87a8',
    500: '#1f5985',
    950: '#000000',
  },
}
SCSS
$custom: #1f5985;
$custom-light: #6a87a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5985",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 133
  },
  "hsl": {
    "h": 205.882,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44848,
    "c": 0.09346,
    "h": 245.2
  },
  "luminance": 0.0913
}

Semantic roles & 50–950 ramp

primary
#1F5985
secondary
#B77849
accent
#8943E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5985

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

Preview Lab → · Contrast checker → · Palette generator →

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