#1F7290#1F7290

#1F7290 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 51.8% C 0.089 H 227.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#1F7290
RGBrgb(31, 114, 144)
HSLhsl(196, 65%, 34%)
HSVhsv(196, 78%, 56%)
CMYKcmyk(78.5%, 20.8%, 0%, 43.5%)
CIE-LABlab(44.71, -13.58, -23.31)
CIE-LCHlch(44.71, 26.98, 239.77°)
OKLaboklab(51.77% -0.0606 -0.0654)
OKLCHoklch(51.77% 0.089 227.2)
XYZxyz(11.6144, 14.3381, 28.5356)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7290 #903D1F
analogous
#1F9076 #1F7290 #1F3A90
triadic
#1F7290 #901F72 #72901F
tetradic
#1F7290 #761F90 #903D1F #3A901F
square
#1F7290 #761F90 #903D1F #3A901F
split-complementary
#1F7290 #901F3A #90761F
monochromatic
#09222B #144A5E #1F7290 #2A9AC2 #50B5D9

Accessibility & contrast

On white

5.43
#1F7290 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7290
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7290#FFFFFF#000000##FFFFFF
##1F72901.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7290;
/* rgb */ color: rgb(31, 114, 144);
/* oklch */ color: oklch(51.8% 0.089 227.2);
Tailwind
colors: {
  custom: {
    50: '#6d9ab0',
    500: '#1f7290',
    950: '#000000',
  },
}
SCSS
$custom: #1f7290;
$custom-light: #6d9ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7290",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 144
  },
  "hsl": {
    "h": 195.929,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.51766,
    "c": 0.08922,
    "h": 227.2
  },
  "luminance": 0.1434
}

Semantic roles & 50–950 ramp

primary
#1F7290
secondary
#BC6C4E
accent
#6D40E8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7290

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

Preview Lab → · Contrast checker → · Palette generator →

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