#1F6D9D#1F6D9D

#1F6D9D is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.2% C 0.105 H 241.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#1F6D9D
RGBrgb(31, 109, 157)
HSLhsl(203, 67%, 37%)
HSVhsv(203, 80%, 62%)
CMYKcmyk(80.3%, 30.6%, 0%, 38.4%)
CIE-LABlab(43.74, -5.87, -32.53)
CIE-LCHlch(43.74, 33.06, 259.77°)
OKLaboklab(51.19% -0.051 -0.0922)
OKLCHoklch(51.19% 0.105 241)
XYZxyz(12.1171, 13.6614, 33.8900)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6D9D #9D4F1F
analogous
#1F9D8E #1F6D9D #1F2E9D
triadic
#1F6D9D #9D1F6D #6D9D1F
tetradic
#1F6D9D #8E1F9D #9D4F1F #2E9D1F
square
#1F6D9D #8E1F9D #9D4F1F #2E9D1F
split-complementary
#1F6D9D #9D1F2E #9D8E1F
monochromatic
#0B2637 #154A6A #1F6D9D #2990D0 #58ABDE

Accessibility & contrast

On white

5.63
#1F6D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#1F6D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6D9D
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6D9D#FFFFFF#000000##FFFFFF
##1F6D9D1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566E9F
Deuteranopia (green-blind)
#45629C
Tritanopia (blue-blind)
#00797E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f6d9d;
/* rgb */ color: rgb(31, 109, 157);
/* oklch */ color: oklch(51.2% 0.105 241.0);
Tailwind
colors: {
  custom: {
    50: '#6f96ba',
    500: '#1f6d9d',
    950: '#000000',
  },
}
SCSS
$custom: #1f6d9d;
$custom-light: #6f96ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6d9d",
  "rgb": {
    "r": 31,
    "g": 109,
    "b": 157
  },
  "hsl": {
    "h": 202.857,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.51191,
    "c": 0.10537,
    "h": 241
  },
  "luminance": 0.13663
}

Semantic roles & 50–950 ramp

primary
#1F6D9D
secondary
#C27F56
accent
#7F3EEA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #1F6D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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