#1F7593#1F7593

#1F7593 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 52.7% C 0.091 H 226.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1F7593
RGBrgb(31, 117, 147)
HSLhsl(196, 65%, 35%)
HSVhsv(196, 79%, 58%)
CMYKcmyk(78.9%, 20.4%, 0%, 42.4%)
CIE-LABlab(45.80, -14.21, -23.41)
CIE-LCHlch(45.80, 27.39, 238.74°)
OKLaboklab(52.68% -0.0625 -0.0657)
OKLCHoklch(52.68% 0.091 226.4)
XYZxyz(12.1907, 15.1190, 29.8739)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7593 #933D1F
analogous
#1F9377 #1F7593 #1F3B93
triadic
#1F7593 #931F75 #75931F
tetradic
#1F7593 #771F93 #933D1F #3B931F
square
#1F7593 #771F93 #933D1F #3B931F
split-complementary
#1F7593 #931F3B #93771F
monochromatic
#0A252E #144D60 #1F7593 #2A9DC6 #52B7DA

Accessibility & contrast

On white

5.22
#1F7593 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1F7593 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7593
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7593#FFFFFF#000000##FFFFFF
##1F75931.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657394
Deuteranopia (green-blind)
#556893
Tritanopia (blue-blind)
#007E7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7593;
/* rgb */ color: rgb(31, 117, 147);
/* oklch */ color: oklch(52.7% 0.091 226.4);
Tailwind
colors: {
  custom: {
    50: '#6e9cb2',
    500: '#1f7593',
    950: '#000000',
  },
}
SCSS
$custom: #1f7593;
$custom-light: #6e9cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7593",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 147
  },
  "hsl": {
    "h": 195.517,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.52675,
    "c": 0.0907,
    "h": 226.4
  },
  "luminance": 0.1512
}

Semantic roles & 50–950 ramp

primary
#1F7593
secondary
#BE6C50
accent
#6B40E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7593

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

Preview Lab → · Contrast checker → · Palette generator →

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