#1F6FA7#1F6FA7

#1F6FA7 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.2% C 0.115 H 244.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#1F6FA7
RGBrgb(31, 111, 167)
HSLhsl(205, 69%, 39%)
HSVhsv(205, 81%, 65%)
CMYKcmyk(81.4%, 33.5%, 0%, 34.5%)
CIE-LABlab(44.87, -3.30, -36.65)
CIE-LCHlch(44.87, 36.80, 264.86°)
OKLaboklab(52.25% -0.0498 -0.1042)
OKLCHoklch(52.25% 0.115 244.5)
XYZxyz(13.2218, 14.4486, 38.6437)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6FA7 #A7571F
analogous
#1FA79B #1F6FA7 #1F2BA7
triadic
#1F6FA7 #A71F6F #6FA71F
tetradic
#1F6FA7 #9B1FA7 #A7571F #2BA71F
square
#1F6FA7 #9B1FA7 #A7571F #2BA71F
split-complementary
#1F6FA7 #A71F2B #A79B1F
monochromatic
#0C2A40 #154D73 #1F6FA7 #2B91D8 #5FACE1

Accessibility & contrast

On white

5.40
#1F6FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#1F6FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6FA7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6FA7#FFFFFF#000000##FFFFFF
##1F6FA71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5571A9
Deuteranopia (green-blind)
#4265A6
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f6fa7;
/* rgb */ color: rgb(31, 111, 167);
/* oklch */ color: oklch(52.2% 0.115 244.5);
Tailwind
colors: {
  custom: {
    50: '#7198c1',
    500: '#1f6fa7',
    950: '#000000',
  },
}
SCSS
$custom: #1f6fa7;
$custom-light: #7198c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6fa7",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 167
  },
  "hsl": {
    "h": 204.706,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.11545,
    "h": 244.5
  },
  "luminance": 0.1445
}

Semantic roles & 50–950 ramp

primary
#1F6FA7
secondary
#C6885C
accent
#843CEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F6FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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