#1F98BB#1F98BB

#1F98BB is a light, moderate cyan. Relative luminance 0.263; OKLCH L 63.3% C 0.111 H 223.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#1F98BB
RGBrgb(31, 152, 187)
HSLhsl(193, 72%, 43%)
HSVhsv(193, 83%, 73%)
CMYKcmyk(83.4%, 18.7%, 0%, 26.7%)
CIE-LABlab(58.35, -19.37, -27.12)
CIE-LCHlch(58.35, 33.33, 234.47°)
OKLaboklab(63.29% -0.0809 -0.0761)
OKLCHoklch(63.29% 0.111 223.2)
XYZxyz(20.7592, 26.3330, 50.9927)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F98BB #BB421F
analogous
#1FBB90 #1F98BB #1F4ABB
triadic
#1F98BB #BB1F98 #98BB1F
tetradic
#1F98BB #901FBB #BB421F #4ABB1F
square
#1F98BB #901FBB #BB421F #4ABB1F
split-complementary
#1F98BB #BB1F4A #BB901F
monochromatic
#0E4352 #166D87 #1F98BB #39B9DE #6ECCE7

Accessibility & contrast

On white

3.35
#1F98BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#1F98BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F98BB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F98BB#FFFFFF#000000##000000
##1F98BB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8494BD
Deuteranopia (green-blind)
#7086BB
Tritanopia (blue-blind)
#00A3A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #1f98bb;
/* rgb */ color: rgb(31, 152, 187);
/* oklch */ color: oklch(63.3% 0.111 223.2);
Tailwind
colors: {
  custom: {
    50: '#77b6cf',
    500: '#1f98bb',
    950: '#000000',
  },
}
SCSS
$custom: #1f98bb;
$custom-light: #77b6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f98bb",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 187
  },
  "hsl": {
    "h": 193.462,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.63293,
    "c": 0.1111,
    "h": 223.2
  },
  "luminance": 0.26336
}

Semantic roles & 50–950 ramp

primary
#1F98BB
secondary
#CD7F69
accent
#623AEE
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #1F98BB

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

Preview Lab → · Contrast checker → · Palette generator →

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