#1F6789#1F6789

#1F6789 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.6% C 0.088 H 233.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#1F6789
RGBrgb(31, 103, 137)
HSLhsl(199, 63%, 33%)
HSVhsv(199, 77%, 54%)
CMYKcmyk(77.4%, 24.8%, 0%, 46.3%)
CIE-LABlab(40.89, -9.74, -25.05)
CIE-LCHlch(40.89, 26.88, 248.76°)
OKLaboklab(48.61% -0.0521 -0.0706)
OKLCHoklch(48.61% 0.088 233.6)
XYZxyz(9.9289, 11.7968, 25.4158)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6789 #89411F
analogous
#1F8976 #1F6789 #1F3289
triadic
#1F6789 #891F67 #67891F
tetradic
#1F6789 #761F89 #89411F #32891F
square
#1F6789 #761F89 #89411F #32891F
split-complementary
#1F6789 #891F32 #89761F
monochromatic
#081C25 #144157 #1F6789 #2A8DBB #4CAAD6

Accessibility & contrast

On white

6.25
#1F6789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#1F6789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6789
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6789#FFFFFF#000000##FFFFFF
##1F67891.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56668B
Deuteranopia (green-blind)
#485C88
Tritanopia (blue-blind)
#007073
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6789;
/* rgb */ color: rgb(31, 103, 137);
/* oklch */ color: oklch(48.6% 0.088 233.6);
Tailwind
colors: {
  custom: {
    50: '#6b92ab',
    500: '#1f6789',
    950: '#000000',
  },
}
SCSS
$custom: #1f6789;
$custom-light: #6b92ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6789",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 137
  },
  "hsl": {
    "h": 199.245,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.48609,
    "c": 0.0877,
    "h": 233.6
  },
  "luminance": 0.11798
}

Semantic roles & 50–950 ramp

primary
#1F6789
secondary
#B96E4B
accent
#7642E6
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080D10
muted
#7A7D7F

Preview Lab

Preview with #1F6789

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

Preview Lab → · Contrast checker → · Palette generator →

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