#1F84A8#1F84A8

#1F84A8 is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.5% C 0.103 H 227.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1F84A8
RGBrgb(31, 132, 168)
HSLhsl(196, 69%, 39%)
HSVhsv(196, 82%, 66%)
CMYKcmyk(81.5%, 21.4%, 0%, 34.1%)
CIE-LABlab(51.40, -15.14, -27.01)
CIE-LCHlch(51.40, 30.97, 240.73°)
OKLaboklab(57.46% -0.0692 -0.0759)
OKLCHoklch(57.46% 0.103 227.7)
XYZxyz(15.8813, 19.6190, 39.9880)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F84A8 #A8431F
analogous
#1FA888 #1F84A8 #1F40A8
triadic
#1F84A8 #A81F84 #84A81F
tetradic
#1F84A8 #881FA8 #A8431F #40A81F
square
#1F84A8 #881FA8 #A8431F #40A81F
split-complementary
#1F84A8 #A81F40 #A8881F
monochromatic
#0C3341 #155B74 #1F84A8 #2CABD8 #60C0E2

Accessibility & contrast

On white

4.26
#1F84A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#1F84A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F84A8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F84A8#FFFFFF#000000##000000
##1F84A81.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7182AA
Deuteranopia (green-blind)
#5F75A8
Tritanopia (blue-blind)
#008E90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f84a8;
/* rgb */ color: rgb(31, 132, 168);
/* oklch */ color: oklch(57.5% 0.103 227.7);
Tailwind
colors: {
  custom: {
    50: '#73a7c2',
    500: '#1f84a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f84a8;
$custom-light: #73a7c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f84a8",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 168
  },
  "hsl": {
    "h": 195.766,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57461,
    "c": 0.10275,
    "h": 227.7
  },
  "luminance": 0.19621
}

Semantic roles & 50–950 ramp

primary
#1F84A8
secondary
#C6785D
accent
#6A3CEC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #1F84A8

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

Preview Lab → · Contrast checker → · Palette generator →

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