#1F7892#1F7892

#1F7892 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.4% C 0.089 H 222.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#1F7892
RGBrgb(31, 120, 146)
HSLhsl(194, 65%, 35%)
HSVhsv(194, 79%, 57%)
CMYKcmyk(78.8%, 17.8%, 0%, 42.7%)
CIE-LABlab(46.71, -16.25, -21.41)
CIE-LCHlch(46.71, 26.88, 232.82°)
OKLaboklab(53.39% -0.0659 -0.06)
OKLCHoklch(53.39% 0.089 222.3)
XYZxyz(12.4677, 15.7981, 29.5808)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7892 #92391F
analogous
#1F9273 #1F7892 #1F3F92
triadic
#1F7892 #921F78 #78921F
tetradic
#1F7892 #731F92 #92391F #3F921F
square
#1F7892 #731F92 #92391F #3F921F
split-complementary
#1F7892 #921F3F #92731F
monochromatic
#0A252D #144F60 #1F7892 #2AA1C4 #51BBDA

Accessibility & contrast

On white

5.05
#1F7892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#1F7892 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7892
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7892#FFFFFF#000000##FFFFFF
##1F78921.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697593
Deuteranopia (green-blind)
#5A6A92
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7892;
/* rgb */ color: rgb(31, 120, 146);
/* oklch */ color: oklch(53.4% 0.089 222.3);
Tailwind
colors: {
  custom: {
    50: '#6e9fb2',
    500: '#1f7892',
    950: '#000000',
  },
}
SCSS
$custom: #1f7892;
$custom-light: #6e9fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7892",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 146
  },
  "hsl": {
    "h": 193.565,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53392,
    "c": 0.08914,
    "h": 222.3
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#1F7892
secondary
#BD6850
accent
#6640E8
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7892

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

Preview Lab → · Contrast checker → · Palette generator →

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