#1F7B98#1F7B98

#1F7B98 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.4% C 0.093 H 224.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#1F7B98
RGBrgb(31, 123, 152)
HSLhsl(194, 66%, 36%)
HSVhsv(194, 80%, 60%)
CMYKcmyk(79.6%, 19.1%, 0%, 40.4%)
CIE-LABlab(47.91, -15.80, -23.10)
CIE-LCHlch(47.91, 27.98, 235.62°)
OKLaboklab(54.44% -0.0666 -0.0648)
OKLCHoklch(54.44% 0.093 224.2)
XYZxyz(13.3132, 16.7226, 32.2258)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B98 #983C1F
analogous
#1F9878 #1F7B98 #1F3E98
triadic
#1F7B98 #981F7B #7B981F
tetradic
#1F7B98 #781F98 #983C1F #3E981F
square
#1F7B98 #781F98 #983C1F #3E981F
split-complementary
#1F7B98 #981F3E #98781F
monochromatic
#0A2932 #155265 #1F7B98 #29A4CB #55BCDC

Accessibility & contrast

On white

4.83
#1F7B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1F7B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B98
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B98#FFFFFF#000000##FFFFFF
##1F7B981.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7899
Deuteranopia (green-blind)
#5B6D98
Tritanopia (blue-blind)
#008484
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7b98;
/* rgb */ color: rgb(31, 123, 152);
/* oklch */ color: oklch(54.4% 0.093 224.2);
Tailwind
colors: {
  custom: {
    50: '#6fa1b6',
    500: '#1f7b98',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b98;
$custom-light: #6fa1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b98",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 152
  },
  "hsl": {
    "h": 194.38,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54437,
    "c": 0.09288,
    "h": 224.2
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#1F7B98
secondary
#C06D53
accent
#683FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #1F7B98

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

Preview Lab → · Contrast checker → · Palette generator →

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