#1F7591#1F7591

#1F7591 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 52.6% C 0.089 H 224.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1F7591
RGBrgb(31, 117, 145)
HSLhsl(195, 65%, 35%)
HSVhsv(195, 79%, 57%)
CMYKcmyk(78.6%, 19.3%, 0%, 43.1%)
CIE-LABlab(45.71, -14.92, -22.36)
CIE-LCHlch(45.71, 26.88, 236.28°)
OKLaboklab(52.58% -0.0633 -0.0627)
OKLCHoklch(52.58% 0.089 224.7)
XYZxyz(12.0351, 15.0568, 29.0545)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7591 #913B1F
analogous
#1F9174 #1F7591 #1F3C91
triadic
#1F7591 #911F75 #75911F
tetradic
#1F7591 #741F91 #913B1F #3C911F
square
#1F7591 #741F91 #913B1F #3C911F
split-complementary
#1F7591 #911F3C #91741F
monochromatic
#09242C #144C5F #1F7591 #2A9EC3 #51B8DA

Accessibility & contrast

On white

5.23
#1F7591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1F7591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7591
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7591#FFFFFF#000000##FFFFFF
##1F75911.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657292
Deuteranopia (green-blind)
#566791
Tritanopia (blue-blind)
#007D7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7591;
/* rgb */ color: rgb(31, 117, 145);
/* oklch */ color: oklch(52.6% 0.089 224.7);
Tailwind
colors: {
  custom: {
    50: '#6e9cb1',
    500: '#1f7591',
    950: '#000000',
  },
}
SCSS
$custom: #1f7591;
$custom-light: #6e9cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7591",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 145
  },
  "hsl": {
    "h": 194.737,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.52579,
    "c": 0.0891,
    "h": 224.7
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#1F7591
secondary
#BD6A4F
accent
#6940E8
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7591

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

Preview Lab → · Contrast checker → · Palette generator →

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