#1F7291#1F7291

#1F7291 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 51.8% C 0.090 H 228.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1F7291
RGBrgb(31, 114, 145)
HSLhsl(196, 65%, 35%)
HSVhsv(196, 79%, 57%)
CMYKcmyk(78.6%, 21.4%, 0%, 43.1%)
CIE-LABlab(44.76, -13.22, -23.84)
CIE-LCHlch(44.76, 27.26, 240.98°)
OKLaboklab(51.82% -0.0603 -0.0669)
OKLCHoklch(51.82% 0.09 228)
XYZxyz(11.6911, 14.3689, 28.9399)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7291 #913E1F
analogous
#1F9177 #1F7291 #1F3991
triadic
#1F7291 #911F72 #72911F
tetradic
#1F7291 #771F91 #913E1F #39911F
square
#1F7291 #771F91 #913E1F #39911F
split-complementary
#1F7291 #911F39 #91771F
monochromatic
#09232C #144A5F #1F7291 #2A9AC3 #51B4DA

Accessibility & contrast

On white

5.42
#1F7291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#1F7291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7291
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7291#FFFFFF#000000##FFFFFF
##1F72911.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627093
Deuteranopia (green-blind)
#526591
Tritanopia (blue-blind)
#007B7C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f7291;
/* rgb */ color: rgb(31, 114, 145);
/* oklch */ color: oklch(51.8% 0.090 228.0);
Tailwind
colors: {
  custom: {
    50: '#6d9ab1',
    500: '#1f7291',
    950: '#000000',
  },
}
SCSS
$custom: #1f7291;
$custom-light: #6d9ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7291",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 145
  },
  "hsl": {
    "h": 196.316,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.51815,
    "c": 0.09008,
    "h": 228
  },
  "luminance": 0.1437
}

Semantic roles & 50–950 ramp

primary
#1F7291
secondary
#BD6D4F
accent
#6E40E8
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7291

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

Preview Lab → · Contrast checker → · Palette generator →

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