#1F98B4#1F98B4

#1F98B4 is a light, moderate cyan. Relative luminance 0.260; OKLCH L 63.0% C 0.107 H 218.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#1F98B4
RGBrgb(31, 152, 180)
HSLhsl(191, 71%, 41%)
HSVhsv(191, 83%, 71%)
CMYKcmyk(82.8%, 15.6%, 0%, 29.4%)
CIE-LABlab(58.08, -21.76, -23.59)
CIE-LCHlch(58.08, 32.09, 227.31°)
OKLaboklab(62.98% -0.0837 -0.066)
OKLCHoklch(62.98% 0.107 218.3)
XYZxyz(20.0280, 26.0405, 47.1419)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F98B4 #B43B1F
analogous
#1FB486 #1F98B4 #1F4EB4
triadic
#1F98B4 #B41F98 #98B41F
tetradic
#1F98B4 #861FB4 #B43B1F #4EB41F
square
#1F98B4 #861FB4 #B43B1F #4EB41F
split-complementary
#1F98B4 #B41F4E #B4861F
monochromatic
#0D404C #166C80 #1F98B4 #34BDDC #68CEE5

Accessibility & contrast

On white

3.38
#1F98B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#1F98B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F98B4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F98B4#FFFFFF#000000##000000
##1F98B41.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8693B6
Deuteranopia (green-blind)
#7386B4
Tritanopia (blue-blind)
#00A1A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #1f98b4;
/* rgb */ color: rgb(31, 152, 180);
/* oklch */ color: oklch(63.0% 0.107 218.3);
Tailwind
colors: {
  custom: {
    50: '#76b6ca',
    500: '#1f98b4',
    950: '#000000',
  },
}
SCSS
$custom: #1f98b4;
$custom-light: #76b6ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f98b4",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 180
  },
  "hsl": {
    "h": 191.275,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6298,
    "c": 0.10657,
    "h": 218.3
  },
  "luminance": 0.26043
}

Semantic roles & 50–950 ramp

primary
#1F98B4
secondary
#CB7764
accent
#5C3AED
background
#F7FBFC
surface
#EEF6F8
border
#C9D0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #1F98B4

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

Preview Lab → · Contrast checker → · Palette generator →

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