#1F5A85#1F5A85

#1F5A85 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.1% C 0.093 H 244.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#1F5A85
RGBrgb(31, 90, 133)
HSLhsl(205, 62%, 32%)
HSVhsv(205, 77%, 52%)
CMYKcmyk(76.7%, 32.3%, 0%, 47.8%)
CIE-LABlab(36.55, -3.32, -29.43)
CIE-LCHlch(36.55, 29.61, 263.57°)
OKLaboklab(45.1% -0.0402 -0.0834)
OKLCHoklch(45.1% 0.093 244.3)
XYZxyz(8.4532, 9.2961, 23.5346)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5A85 #854A1F
analogous
#1F857D #1F5A85 #1F2785
triadic
#1F5A85 #851F5A #5A851F
tetradic
#1F5A85 #7D1F85 #854A1F #27851F
square
#1F5A85 #7D1F85 #854A1F #27851F
split-complementary
#1F5A85 #851F27 #857D1F
monochromatic
#081722 #133853 #1F5A85 #2B7CB7 #4A9AD5

Accessibility & contrast

On white

7.34
#1F5A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#1F5A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5A85
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5A85#FFFFFF#000000##FFFFFF
##1F5A851.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465B87
Deuteranopia (green-blind)
#385284
Tritanopia (blue-blind)
#006469
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f5a85;
/* rgb */ color: rgb(31, 90, 133);
/* oklch */ color: oklch(45.1% 0.093 244.3);
Tailwind
colors: {
  custom: {
    50: '#6a88a8',
    500: '#1f5a85',
    950: '#000000',
  },
}
SCSS
$custom: #1f5a85;
$custom-light: #6a88a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5a85",
  "rgb": {
    "r": 31,
    "g": 90,
    "b": 133
  },
  "hsl": {
    "h": 205.294,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45099,
    "c": 0.09256,
    "h": 244.3
  },
  "luminance": 0.09297
}

Semantic roles & 50–950 ramp

primary
#1F5A85
secondary
#B77749
accent
#8743E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5A85

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

Preview Lab → · Contrast checker → · Palette generator →

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