#1F5A84#1F5A84

#1F5A84 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.0% C 0.091 H 243.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#1F5A84
RGBrgb(31, 90, 132)
HSLhsl(205, 62%, 32%)
HSVhsv(205, 77%, 52%)
CMYKcmyk(76.5%, 31.8%, 0%, 48.2%)
CIE-LABlab(36.50, -3.70, -28.90)
CIE-LCHlch(36.50, 29.13, 262.71°)
OKLaboklab(45.04% -0.0405 -0.0819)
OKLCHoklch(45.04% 0.091 243.7)
XYZxyz(8.3845, 9.2686, 23.1725)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5A84 #84491F
analogous
#1F847B #1F5A84 #1F2884
triadic
#1F5A84 #841F5A #5A841F
tetradic
#1F5A84 #7B1F84 #84491F #28841F
square
#1F5A84 #7B1F84 #84491F #28841F
split-complementary
#1F5A84 #841F28 #847B1F
monochromatic
#081621 #133852 #1F5A84 #2B7CB6 #499AD4

Accessibility & contrast

On white

7.36
#1F5A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#1F5A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5A84
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5A84#FFFFFF#000000##FFFFFF
##1F5A841.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475B86
Deuteranopia (green-blind)
#395283
Tritanopia (blue-blind)
#006469
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f5a84;
/* rgb */ color: rgb(31, 90, 132);
/* oklch */ color: oklch(45.0% 0.091 243.7);
Tailwind
colors: {
  custom: {
    50: '#6a88a8',
    500: '#1f5a84',
    950: '#000000',
  },
}
SCSS
$custom: #1f5a84;
$custom-light: #6a88a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5a84",
  "rgb": {
    "r": 31,
    "g": 90,
    "b": 132
  },
  "hsl": {
    "h": 204.95,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45041,
    "c": 0.09132,
    "h": 243.7
  },
  "luminance": 0.0927
}

Semantic roles & 50–950 ramp

primary
#1F5A84
secondary
#B77648
accent
#8643E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5A84

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

Preview Lab → · Contrast checker → · Palette generator →

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