#1F7491#1F7491

#1F7491 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.3% C 0.089 H 225.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#1F7491
RGBrgb(31, 116, 145)
HSLhsl(195, 65%, 35%)
HSVhsv(195, 79%, 57%)
CMYKcmyk(78.6%, 20%, 0%, 43.1%)
CIE-LABlab(45.39, -14.36, -22.85)
CIE-LCHlch(45.39, 26.99, 237.86°)
OKLaboklab(52.32% -0.0623 -0.0641)
OKLCHoklch(52.32% 0.089 225.8)
XYZxyz(11.9192, 14.8250, 29.0159)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7491 #913C1F
analogous
#1F9175 #1F7491 #1F3B91
triadic
#1F7491 #911F74 #74911F
tetradic
#1F7491 #751F91 #913C1F #3B911F
square
#1F7491 #751F91 #913C1F #3B911F
split-complementary
#1F7491 #911F3B #91751F
monochromatic
#09232C #144C5F #1F7491 #2A9CC3 #51B7DA

Accessibility & contrast

On white

5.30
#1F7491 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#1F7491 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7491
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7491#FFFFFF#000000##FFFFFF
##1F74911.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647292
Deuteranopia (green-blind)
#556791
Tritanopia (blue-blind)
#007C7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f7491;
/* rgb */ color: rgb(31, 116, 145);
/* oklch */ color: oklch(52.3% 0.089 225.8);
Tailwind
colors: {
  custom: {
    50: '#6e9cb1',
    500: '#1f7491',
    950: '#000000',
  },
}
SCSS
$custom: #1f7491;
$custom-light: #6e9cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7491",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 145
  },
  "hsl": {
    "h": 195.263,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.52324,
    "c": 0.08939,
    "h": 225.8
  },
  "luminance": 0.14826
}

Semantic roles & 50–950 ramp

primary
#1F7491
secondary
#BD6B4F
accent
#6B40E8
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7491

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

Preview Lab → · Contrast checker → · Palette generator →

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