#1F8FB2#1F8FB2

#1F8FB2 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.7% C 0.107 H 224.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#1F8FB2
RGBrgb(31, 143, 178)
HSLhsl(194, 70%, 41%)
HSVhsv(194, 83%, 70%)
CMYKcmyk(82.6%, 19.7%, 0%, 30.2%)
CIE-LABlab(55.22, -17.65, -26.84)
CIE-LCHlch(55.22, 32.13, 236.67°)
OKLaboklab(60.66% -0.0759 -0.0754)
OKLCHoklch(60.66% 0.107 224.8)
XYZxyz(18.4201, 23.1483, 45.6081)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8FB2 #B2421F
analogous
#1FB28B #1F8FB2 #1F45B2
triadic
#1F8FB2 #B21F8F #8FB21F
tetradic
#1F8FB2 #8B1FB2 #B2421F #45B21F
square
#1F8FB2 #8B1FB2 #B2421F #45B21F
split-complementary
#1F8FB2 #B21F45 #B28B1F
monochromatic
#0D3B4A #16657E #1F8FB2 #33B3DB #67C7E5

Accessibility & contrast

On white

3.73
#1F8FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#1F8FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8FB2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8FB2#FFFFFF#000000##000000
##1F8FB21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB4
Deuteranopia (green-blind)
#697EB2
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f8fb2;
/* rgb */ color: rgb(31, 143, 178);
/* oklch */ color: oklch(60.7% 0.107 224.8);
Tailwind
colors: {
  custom: {
    50: '#75b0c9',
    500: '#1f8fb2',
    950: '#000000',
  },
}
SCSS
$custom: #1f8fb2;
$custom-light: #75b0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8fb2",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 178
  },
  "hsl": {
    "h": 194.286,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.60662,
    "c": 0.10697,
    "h": 224.8
  },
  "luminance": 0.23151
}

Semantic roles & 50–950 ramp

primary
#1F8FB2
secondary
#CA7B63
accent
#653BED
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F8FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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