#1F5B82#1F5B82

#1F5B82 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.2% C 0.088 H 241.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#1F5B82
RGBrgb(31, 91, 130)
HSLhsl(204, 61%, 32%)
HSVhsv(204, 76%, 51%)
CMYKcmyk(76.2%, 30%, 0%, 49%)
CIE-LABlab(36.71, -5.08, -27.33)
CIE-LCHlch(36.71, 27.80, 259.46°)
OKLaboklab(45.18% -0.0422 -0.0773)
OKLCHoklch(45.18% 0.088 241.4)
XYZxyz(8.3339, 9.3842, 22.4869)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B82 #82461F
analogous
#1F8278 #1F5B82 #1F2A82
triadic
#1F5B82 #821F5B #5B821F
tetradic
#1F5B82 #781F82 #82461F #2A821F
square
#1F5B82 #781F82 #82461F #2A821F
split-complementary
#1F5B82 #821F2A #82781F
monochromatic
#07161F #133851 #1F5B82 #2B7EB3 #489CD3

Accessibility & contrast

On white

7.30
#1F5B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#1F5B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5B82
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B82#FFFFFF#000000##FFFFFF
##1F5B821.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495C84
Deuteranopia (green-blind)
#3B5281
Tritanopia (blue-blind)
#006569
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f5b82;
/* rgb */ color: rgb(31, 91, 130);
/* oklch */ color: oklch(45.2% 0.088 241.4);
Tailwind
colors: {
  custom: {
    50: '#6989a6',
    500: '#1f5b82',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b82;
$custom-light: #6989a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b82",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 130
  },
  "hsl": {
    "h": 203.636,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4518,
    "c": 0.08806,
    "h": 241.4
  },
  "luminance": 0.09385
}

Semantic roles & 50–950 ramp

primary
#1F5B82
secondary
#B57348
accent
#8343E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5B82

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

Preview Lab → · Contrast checker → · Palette generator →

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