#1F5A89#1F5A89

#1F5A89 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.3% C 0.098 H 246.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#1F5A89
RGBrgb(31, 90, 137)
HSLhsl(207, 63%, 33%)
HSVhsv(207, 77%, 54%)
CMYKcmyk(77.4%, 34.3%, 0%, 46.3%)
CIE-LABlab(36.76, -1.78, -31.53)
CIE-LCHlch(36.76, 31.58, 266.78°)
OKLaboklab(45.34% -0.0389 -0.0895)
OKLCHoklch(45.34% 0.098 246.5)
XYZxyz(8.7349, 9.4088, 25.0178)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5A89 #894E1F
analogous
#1F8983 #1F5A89 #1F2589
triadic
#1F5A89 #891F5A #5A891F
tetradic
#1F5A89 #831F89 #894E1F #25891F
square
#1F5A89 #831F89 #894E1F #25891F
split-complementary
#1F5A89 #891F25 #89831F
monochromatic
#081825 #143957 #1F5A89 #2A7BBB #4C99D6

Accessibility & contrast

On white

7.29
#1F5A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F5A89
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5A89#FFFFFF#000000##FFFFFF
##1F5A891.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8B
Deuteranopia (green-blind)
#355288
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f5a89;
/* rgb */ color: rgb(31, 90, 137);
/* oklch */ color: oklch(45.3% 0.098 246.5);
Tailwind
colors: {
  custom: {
    50: '#6b88ab',
    500: '#1f5a89',
    950: '#000000',
  },
}
SCSS
$custom: #1f5a89;
$custom-light: #6b88ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5a89",
  "rgb": {
    "r": 31,
    "g": 90,
    "b": 137
  },
  "hsl": {
    "h": 206.604,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45335,
    "c": 0.09763,
    "h": 246.5
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#1F5A89
secondary
#B97C4B
accent
#8B42E6
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5A89

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

Preview Lab → · Contrast checker → · Palette generator →

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