#1F5D83#1F5D83

#1F5D83 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.7% C 0.088 H 239.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#1F5D83
RGBrgb(31, 93, 131)
HSLhsl(203, 62%, 32%)
HSVhsv(203, 76%, 51%)
CMYKcmyk(76.3%, 29%, 0%, 48.6%)
CIE-LABlab(37.40, -5.94, -26.86)
CIE-LCHlch(37.40, 27.51, 257.53°)
OKLaboklab(45.74% -0.0439 -0.0759)
OKLCHoklch(45.74% 0.088 239.9)
XYZxyz(8.5746, 9.7577, 22.8998)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D83 #83451F
analogous
#1F8377 #1F5D83 #1F2B83
triadic
#1F5D83 #831F5D #5D831F
tetradic
#1F5D83 #771F83 #83451F #2B831F
square
#1F5D83 #771F83 #83451F #2B831F
split-complementary
#1F5D83 #831F2B #83771F
monochromatic
#081720 #133A52 #1F5D83 #2B80B4 #499FD4

Accessibility & contrast

On white

7.11
#1F5D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#1F5D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D83
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D83#FFFFFF#000000##FFFFFF
##1F5D831.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5D85
Deuteranopia (green-blind)
#3E5482
Tritanopia (blue-blind)
#00676A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5d83;
/* rgb */ color: rgb(31, 93, 131);
/* oklch */ color: oklch(45.7% 0.088 239.9);
Tailwind
colors: {
  custom: {
    50: '#6a8aa7',
    500: '#1f5d83',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d83;
$custom-light: #6a8aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d83",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 131
  },
  "hsl": {
    "h": 202.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45743,
    "c": 0.08769,
    "h": 239.9
  },
  "luminance": 0.09759
}

Semantic roles & 50–950 ramp

primary
#1F5D83
secondary
#B67248
accent
#8043E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5D83

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

Preview Lab → · Contrast checker → · Palette generator →

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