#1F6785#1F6785

#1F6785 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.4% C 0.084 H 230.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#1F6785
RGBrgb(31, 103, 133)
HSLhsl(198, 62%, 32%)
HSVhsv(198, 77%, 52%)
CMYKcmyk(76.7%, 22.6%, 0%, 47.8%)
CIE-LABlab(40.71, -11.20, -22.92)
CIE-LCHlch(40.71, 25.52, 243.95°)
OKLaboklab(48.41% -0.0536 -0.0644)
OKLCHoklch(48.41% 0.084 230.2)
XYZxyz(9.6472, 11.6841, 23.9326)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6785 #853D1F
analogous
#1F8570 #1F6785 #1F3485
triadic
#1F6785 #851F67 #67851F
tetradic
#1F6785 #701F85 #853D1F #34851F
square
#1F6785 #701F85 #853D1F #34851F
split-complementary
#1F6785 #851F34 #85701F
monochromatic
#081A22 #134153 #1F6785 #2B8DB7 #4AACD5

Accessibility & contrast

On white

6.29
#1F6785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F6785
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6785#FFFFFF#000000##FFFFFF
##1F67851.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586586
Deuteranopia (green-blind)
#4A5C85
Tritanopia (blue-blind)
#006F71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6785;
/* rgb */ color: rgb(31, 103, 133);
/* oklch */ color: oklch(48.4% 0.084 230.2);
Tailwind
colors: {
  custom: {
    50: '#6b92a8',
    500: '#1f6785',
    950: '#000000',
  },
}
SCSS
$custom: #1f6785;
$custom-light: #6b92a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6785",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 133
  },
  "hsl": {
    "h": 197.647,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.48405,
    "c": 0.0838,
    "h": 230.2
  },
  "luminance": 0.11685
}

Semantic roles & 50–950 ramp

primary
#1F6785
secondary
#B76949
accent
#7243E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070D0F
muted
#7A7D7F

Preview Lab

Preview with #1F6785

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

Preview Lab → · Contrast checker → · Palette generator →

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