#1F5597#1F5597

#1F5597 is a mid, vivid cyan. Relative luminance 0.090; OKLCH L 45.0% C 0.122 H 255.5°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#1F5597
RGBrgb(31, 85, 151)
HSLhsl(213, 66%, 36%)
HSVhsv(213, 79%, 59%)
CMYKcmyk(79.5%, 43.7%, 0%, 40.8%)
CIE-LABlab(36.03, 6.95, -41.19)
CIE-LCHlch(36.03, 41.77, 279.58°)
OKLaboklab(45.03% -0.0305 -0.1179)
OKLCHoklch(45.03% 0.122 255.5)
XYZxyz(9.3974, 9.0216, 30.5182)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5597 #97611F
analogous
#1F9197 #1F5597 #251F97
triadic
#1F5597 #971F55 #55971F
tetradic
#1F5597 #971F91 #97611F #1F9725
square
#1F5597 #971F91 #97611F #1F9725
split-complementary
#1F5597 #97251F #91971F
monochromatic
#0A1C31 #153864 #1F5597 #2972CA #5491DC

Accessibility & contrast

On white

7.49
#1F5597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#1F5597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5597
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5597#FFFFFF#000000##FFFFFF
##1F55971.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9A
Deuteranopia (green-blind)
#1E5096
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f5597;
/* rgb */ color: rgb(31, 85, 151);
/* oklch */ color: oklch(45.0% 0.122 255.5);
Tailwind
colors: {
  custom: {
    50: '#6e84b6',
    500: '#1f5597',
    950: '#000000',
  },
}
SCSS
$custom: #1f5597;
$custom-light: #6e84b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5597",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 151
  },
  "hsl": {
    "h": 213,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45025,
    "c": 0.12182,
    "h": 255.5
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#1F5597
secondary
#BF8E52
accent
#9C3FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5597

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

Preview Lab → · Contrast checker → · Palette generator →

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