#1F5C82#1F5C82

#1F5C82 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.4% C 0.087 H 240.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#1F5C82
RGBrgb(31, 92, 130)
HSLhsl(203, 61%, 32%)
HSVhsv(203, 76%, 51%)
CMYKcmyk(76.2%, 29.2%, 0%, 49%)
CIE-LABlab(37.03, -5.70, -26.83)
CIE-LCHlch(37.03, 27.43, 258.00°)
OKLaboklab(45.43% -0.0432 -0.0758)
OKLCHoklch(45.43% 0.087 240.3)
XYZxyz(8.4199, 9.5563, 22.5156)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5C82 #82451F
analogous
#1F8277 #1F5C82 #1F2B82
triadic
#1F5C82 #821F5C #5C821F
tetradic
#1F5C82 #771F82 #82451F #2B821F
square
#1F5C82 #771F82 #82451F #2B821F
split-complementary
#1F5C82 #821F2B #82771F
monochromatic
#07161F #133951 #1F5C82 #2B7FB3 #489ED3

Accessibility & contrast

On white

7.21
#1F5C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#1F5C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5C82
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5C82#FFFFFF#000000##FFFFFF
##1F5C821.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5C84
Deuteranopia (green-blind)
#3D5381
Tritanopia (blue-blind)
#006569
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f5c82;
/* rgb */ color: rgb(31, 92, 130);
/* oklch */ color: oklch(45.4% 0.087 240.3);
Tailwind
colors: {
  custom: {
    50: '#698aa6',
    500: '#1f5c82',
    950: '#000000',
  },
}
SCSS
$custom: #1f5c82;
$custom-light: #698aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5c82",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 130
  },
  "hsl": {
    "h": 203.03,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45433,
    "c": 0.08728,
    "h": 240.3
  },
  "luminance": 0.09557
}

Semantic roles & 50–950 ramp

primary
#1F5C82
secondary
#B57248
accent
#8143E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5C82

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

Preview Lab → · Contrast checker → · Palette generator →

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