#1F84A7#1F84A7

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

Color values

HEX#1F84A7
RGBrgb(31, 132, 167)
HSLhsl(195, 69%, 39%)
HSVhsv(195, 81%, 65%)
CMYKcmyk(81.4%, 21%, 0%, 34.5%)
CIE-LABlab(51.36, -15.49, -26.50)
CIE-LCHlch(51.36, 30.70, 239.68°)
OKLaboklab(57.41% -0.0696 -0.0745)
OKLCHoklch(57.41% 0.102 226.9)
XYZxyz(15.7885, 19.5819, 39.4993)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F84A7 #A7421F
analogous
#1FA786 #1F84A7 #1F40A7
triadic
#1F84A7 #A71F84 #84A71F
tetradic
#1F84A7 #861FA7 #A7421F #40A71F
square
#1F84A7 #861FA7 #A7421F #40A71F
split-complementary
#1F84A7 #A71F40 #A7861F
monochromatic
#0C3240 #155B73 #1F84A7 #2BABD8 #5FC0E1

Accessibility & contrast

On white

4.27
#1F84A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F84A7#FFFFFF#000000##000000
##1F84A71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7181A9
Deuteranopia (green-blind)
#5F75A7
Tritanopia (blue-blind)
#008E90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f84a7;
/* rgb */ color: rgb(31, 132, 167);
/* oklch */ color: oklch(57.4% 0.102 226.9);
Tailwind
colors: {
  custom: {
    50: '#73a7c1',
    500: '#1f84a7',
    950: '#000000',
  },
}
SCSS
$custom: #1f84a7;
$custom-light: #73a7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f84a7",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 167
  },
  "hsl": {
    "h": 195.441,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57413,
    "c": 0.10192,
    "h": 226.9
  },
  "luminance": 0.19584
}

Semantic roles & 50–950 ramp

primary
#1F84A7
secondary
#C6775C
accent
#693CEC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #1F84A7

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

Preview Lab → · Contrast checker → · Palette generator →

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