#1F7391#1F7391

#1F7391 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.1% C 0.090 H 226.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#1F7391
RGBrgb(31, 115, 145)
HSLhsl(196, 65%, 35%)
HSVhsv(196, 79%, 57%)
CMYKcmyk(78.6%, 20.7%, 0%, 43.1%)
CIE-LABlab(45.08, -13.79, -23.34)
CIE-LCHlch(45.08, 27.11, 239.42°)
OKLaboklab(52.07% -0.0613 -0.0655)
OKLCHoklch(52.07% 0.09 226.9)
XYZxyz(11.8045, 14.5957, 28.9777)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7391 #913D1F
analogous
#1F9176 #1F7391 #1F3A91
triadic
#1F7391 #911F73 #73911F
tetradic
#1F7391 #761F91 #913D1F #3A911F
square
#1F7391 #761F91 #913D1F #3A911F
split-complementary
#1F7391 #911F3A #91761F
monochromatic
#09232C #144B5F #1F7391 #2A9BC3 #51B6DA

Accessibility & contrast

On white

5.36
#1F7391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#1F7391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7391
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7391#FFFFFF#000000##FFFFFF
##1F73911.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637192
Deuteranopia (green-blind)
#546691
Tritanopia (blue-blind)
#007C7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f7391;
/* rgb */ color: rgb(31, 115, 145);
/* oklch */ color: oklch(52.1% 0.090 226.9);
Tailwind
colors: {
  custom: {
    50: '#6d9bb1',
    500: '#1f7391',
    950: '#000000',
  },
}
SCSS
$custom: #1f7391;
$custom-light: #6d9bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7391",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 145
  },
  "hsl": {
    "h": 195.789,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.52069,
    "c": 0.08971,
    "h": 226.9
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

primary
#1F7391
secondary
#BD6C4F
accent
#6C40E8
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7391

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

Preview Lab → · Contrast checker → · Palette generator →

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