#1F5A82#1F5A82

#1F5A82 is a dark, moderate cyan. Relative luminance 0.092; OKLCH L 44.9% C 0.089 H 242.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#1F5A82
RGBrgb(31, 90, 130)
HSLhsl(204, 61%, 32%)
HSVhsv(204, 76%, 51%)
CMYKcmyk(76.2%, 30.8%, 0%, 49%)
CIE-LABlab(36.39, -4.46, -27.83)
CIE-LCHlch(36.39, 28.19, 260.89°)
OKLaboklab(44.93% -0.0412 -0.0788)
OKLCHoklch(44.93% 0.089 242.4)
XYZxyz(8.2489, 9.2144, 22.4586)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5A82 #82471F
analogous
#1F8279 #1F5A82 #1F2982
triadic
#1F5A82 #821F5A #5A821F
tetradic
#1F5A82 #791F82 #82471F #29821F
square
#1F5A82 #791F82 #82471F #29821F
split-complementary
#1F5A82 #821F29 #82791F
monochromatic
#07161F #133851 #1F5A82 #2B7CB3 #489BD3

Accessibility & contrast

On white

7.39
#1F5A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#1F5A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5A82
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5A82#FFFFFF#000000##FFFFFF
##1F5A821.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485B84
Deuteranopia (green-blind)
#3A5181
Tritanopia (blue-blind)
#006468
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f5a82;
/* rgb */ color: rgb(31, 90, 130);
/* oklch */ color: oklch(44.9% 0.089 242.4);
Tailwind
colors: {
  custom: {
    50: '#6988a6',
    500: '#1f5a82',
    950: '#000000',
  },
}
SCSS
$custom: #1f5a82;
$custom-light: #6988a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5a82",
  "rgb": {
    "r": 31,
    "g": 90,
    "b": 130
  },
  "hsl": {
    "h": 204.242,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44926,
    "c": 0.08887,
    "h": 242.4
  },
  "luminance": 0.09215
}

Semantic roles & 50–950 ramp

primary
#1F5A82
secondary
#B57448
accent
#8443E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5A82

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

Preview Lab → · Contrast checker → · Palette generator →

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