#1F6786#1F6786

#1F6786 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.5% C 0.085 H 231.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#1F6786
RGBrgb(31, 103, 134)
HSLhsl(198, 62%, 32%)
HSVhsv(198, 77%, 53%)
CMYKcmyk(76.9%, 23.1%, 0%, 47.5%)
CIE-LABlab(40.75, -10.84, -23.46)
CIE-LCHlch(40.75, 25.84, 245.20°)
OKLaboklab(48.46% -0.0532 -0.0659)
OKLCHoklch(48.46% 0.085 231.1)
XYZxyz(9.7167, 11.7119, 24.2982)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6786 #863E1F
analogous
#1F8671 #1F6786 #1F3486
triadic
#1F6786 #861F67 #67861F
tetradic
#1F6786 #711F86 #863E1F #34861F
square
#1F6786 #711F86 #863E1F #34861F
split-complementary
#1F6786 #861F34 #86711F
monochromatic
#081B23 #144154 #1F6786 #2A8DB8 #4AABD5

Accessibility & contrast

On white

6.28
#1F6786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#1F6786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6786
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6786#FFFFFF#000000##FFFFFF
##1F67861.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576687
Deuteranopia (green-blind)
#495C86
Tritanopia (blue-blind)
#006F71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6786;
/* rgb */ color: rgb(31, 103, 134);
/* oklch */ color: oklch(48.5% 0.085 231.1);
Tailwind
colors: {
  custom: {
    50: '#6b92a9',
    500: '#1f6786',
    950: '#000000',
  },
}
SCSS
$custom: #1f6786;
$custom-light: #6b92a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6786",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 134
  },
  "hsl": {
    "h": 198.058,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.48455,
    "c": 0.08474,
    "h": 231.1
  },
  "luminance": 0.11713
}

Semantic roles & 50–950 ramp

primary
#1F6786
secondary
#B86A49
accent
#7342E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070D10
muted
#7A7D7F

Preview Lab

Preview with #1F6786

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

Preview Lab → · Contrast checker → · Palette generator →

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