#1F7894#1F7894

#1F7894 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.5% C 0.091 H 224.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1F7894
RGBrgb(31, 120, 148)
HSLhsl(194, 65%, 35%)
HSVhsv(194, 79%, 58%)
CMYKcmyk(79.1%, 18.9%, 0%, 42%)
CIE-LABlab(46.79, -15.54, -22.47)
CIE-LCHlch(46.79, 27.32, 235.33°)
OKLaboklab(53.49% -0.0651 -0.063)
OKLCHoklch(53.49% 0.091 224)
XYZxyz(12.6246, 15.8608, 30.4073)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7894 #943B1F
analogous
#1F9475 #1F7894 #1F3D94
triadic
#1F7894 #941F78 #78941F
tetradic
#1F7894 #751F94 #943B1F #3D941F
square
#1F7894 #751F94 #943B1F #3D941F
split-complementary
#1F7894 #941F3D #94751F
monochromatic
#0A262F #144F61 #1F7894 #2AA1C7 #53BADB

Accessibility & contrast

On white

5.03
#1F7894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7894
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7894#FFFFFF#000000##FFFFFF
##1F78941.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7894;
/* rgb */ color: rgb(31, 120, 148);
/* oklch */ color: oklch(53.5% 0.091 224.0);
Tailwind
colors: {
  custom: {
    50: '#6e9fb3',
    500: '#1f7894',
    950: '#000000',
  },
}
SCSS
$custom: #1f7894;
$custom-light: #6e9fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7894",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 148
  },
  "hsl": {
    "h": 194.359,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53486,
    "c": 0.09062,
    "h": 224
  },
  "luminance": 0.15862
}

Semantic roles & 50–950 ramp

primary
#1F7894
secondary
#BE6B51
accent
#683FE8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7894

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

Preview Lab → · Contrast checker → · Palette generator →

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