#1F5385#1F5385

#1F5385 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.4% C 0.099 H 250.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#1F5385
RGBrgb(31, 83, 133)
HSLhsl(209, 62%, 32%)
HSVhsv(209, 77%, 52%)
CMYKcmyk(76.7%, 37.6%, 0%, 47.8%)
CIE-LABlab(34.34, 1.16, -32.92)
CIE-LCHlch(34.34, 32.94, 272.01°)
OKLaboklab(43.36% -0.0331 -0.0937)
OKLCHoklch(43.36% 0.099 250.5)
XYZxyz(7.8904, 8.1704, 23.3469)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5385 #85511F
analogous
#1F8584 #1F5385 #1F2085
triadic
#1F5385 #851F53 #53851F
tetradic
#1F5385 #841F85 #85511F #20851F
square
#1F5385 #841F85 #85511F #20851F
split-complementary
#1F5385 #851F20 #85841F
monochromatic
#081522 #133453 #1F5385 #2B72B7 #4A91D5

Accessibility & contrast

On white

7.97
#1F5385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1F5385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5385
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5385#FFFFFF#000000##FFFFFF
##1F53851.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5687
Deuteranopia (green-blind)
#2D4C84
Tritanopia (blue-blind)
#005F65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5385;
/* rgb */ color: rgb(31, 83, 133);
/* oklch */ color: oklch(43.4% 0.099 250.5);
Tailwind
colors: {
  custom: {
    50: '#6a83a9',
    500: '#1f5385',
    950: '#000000',
  },
}
SCSS
$custom: #1f5385;
$custom-light: #6a83a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5385",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 133
  },
  "hsl": {
    "h": 209.412,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43358,
    "c": 0.09939,
    "h": 250.5
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#1F5385
secondary
#B77F49
accent
#9243E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5385

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

Preview Lab → · Contrast checker → · Palette generator →

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