#1F6AA7#1F6AA7

#1F6AA7 is a mid, vivid cyan. Relative luminance 0.134; OKLCH L 51.0% C 0.120 H 247.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#1F6AA7
RGBrgb(31, 106, 167)
HSLhsl(207, 69%, 39%)
HSVhsv(207, 81%, 65%)
CMYKcmyk(81.4%, 36.5%, 0%, 34.5%)
CIE-LABlab(43.34, -0.22, -39.07)
CIE-LCHlch(43.34, 39.07, 269.67°)
OKLaboklab(51.04% -0.0452 -0.1113)
OKLCHoklch(51.04% 0.12 247.9)
XYZxyz(12.6915, 13.3878, 38.4669)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6AA7 #A75C1F
analogous
#1FA7A0 #1F6AA7 #1F26A7
triadic
#1F6AA7 #A71F6A #6AA71F
tetradic
#1F6AA7 #A01FA7 #A75C1F #26A71F
square
#1F6AA7 #A01FA7 #A75C1F #26A71F
split-complementary
#1F6AA7 #A71F26 #A7A01F
monochromatic
#0C2840 #154973 #1F6AA7 #2B8AD8 #5FA7E1

Accessibility & contrast

On white

5.71
#1F6AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#1F6AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6AA7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6AA7#FFFFFF#000000##FFFFFF
##1F6AA71.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6DAA
Deuteranopia (green-blind)
#3961A6
Tritanopia (blue-blind)
#007980
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f6aa7;
/* rgb */ color: rgb(31, 106, 167);
/* oklch */ color: oklch(51.0% 0.120 247.9);
Tailwind
colors: {
  custom: {
    50: '#7194c1',
    500: '#1f6aa7',
    950: '#000000',
  },
}
SCSS
$custom: #1f6aa7;
$custom-light: #7194c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6aa7",
  "rgb": {
    "r": 31,
    "g": 106,
    "b": 167
  },
  "hsl": {
    "h": 206.912,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51045,
    "c": 0.12017,
    "h": 247.9
  },
  "luminance": 0.13389
}

Semantic roles & 50–950 ramp

primary
#1F6AA7
secondary
#C68B5C
accent
#8B3CEC
background
#F7F9FB
surface
#EDF1F7
border
#C8CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F6AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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