#1F7893#1F7893

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

Color values

HEX#1F7893
RGBrgb(31, 120, 147)
HSLhsl(194, 65%, 35%)
HSVhsv(194, 79%, 58%)
CMYKcmyk(78.9%, 18.4%, 0%, 42.4%)
CIE-LABlab(46.75, -15.89, -21.94)
CIE-LCHlch(46.75, 27.09, 234.08°)
OKLaboklab(53.44% -0.0655 -0.0615)
OKLCHoklch(53.44% 0.09 223.2)
XYZxyz(12.5458, 15.8293, 29.9922)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7893 #933A1F
analogous
#1F9374 #1F7893 #1F3E93
triadic
#1F7893 #931F78 #78931F
tetradic
#1F7893 #741F93 #933A1F #3E931F
square
#1F7893 #741F93 #933A1F #3E931F
split-complementary
#1F7893 #931F3E #93741F
monochromatic
#0A252E #144F60 #1F7893 #2AA1C6 #52BBDA

Accessibility & contrast

On white

5.04
#1F7893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#1F7893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7893
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7893#FFFFFF#000000##FFFFFF
##1F78931.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697594
Deuteranopia (green-blind)
#596A93
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7893;
/* rgb */ color: rgb(31, 120, 147);
/* oklch */ color: oklch(53.4% 0.090 223.2);
Tailwind
colors: {
  custom: {
    50: '#6e9fb2',
    500: '#1f7893',
    950: '#000000',
  },
}
SCSS
$custom: #1f7893;
$custom-light: #6e9fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7893",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 147
  },
  "hsl": {
    "h": 193.966,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53439,
    "c": 0.08987,
    "h": 223.2
  },
  "luminance": 0.15831
}

Semantic roles & 50–950 ramp

primary
#1F7893
secondary
#BE6A50
accent
#6740E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7893

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

Preview Lab → · Contrast checker → · Palette generator →

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