#1F6AA8#1F6AA8

#1F6AA8 is a mid, vivid cyan. Relative luminance 0.134; OKLCH L 51.1% C 0.121 H 248.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#1F6AA8
RGBrgb(31, 106, 168)
HSLhsl(207, 69%, 39%)
HSVhsv(207, 82%, 66%)
CMYKcmyk(81.5%, 36.9%, 0%, 34.1%)
CIE-LABlab(43.40, 0.16, -39.57)
CIE-LCHlch(43.40, 39.57, 270.23°)
OKLaboklab(51.11% -0.045 -0.1128)
OKLCHoklch(51.11% 0.121 248.3)
XYZxyz(12.7843, 13.4250, 38.9557)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6AA8 #A85D1F
analogous
#1FA8A2 #1F6AA8 #1F26A8
triadic
#1F6AA8 #A81F6A #6AA81F
tetradic
#1F6AA8 #A21FA8 #A85D1F #26A81F
square
#1F6AA8 #A21FA8 #A85D1F #26A81F
split-complementary
#1F6AA8 #A81F26 #A8A21F
monochromatic
#0C2941 #154974 #1F6AA8 #2C8AD8 #60A7E2

Accessibility & contrast

On white

5.70
#1F6AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#1F6AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6AA8
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6AA8#FFFFFF#000000##FFFFFF
##1F6AA81.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6DAB
Deuteranopia (green-blind)
#3861A7
Tritanopia (blue-blind)
#007981
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f6aa8;
/* rgb */ color: rgb(31, 106, 168);
/* oklch */ color: oklch(51.1% 0.121 248.3);
Tailwind
colors: {
  custom: {
    50: '#7194c2',
    500: '#1f6aa8',
    950: '#000000',
  },
}
SCSS
$custom: #1f6aa8;
$custom-light: #7194c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6aa8",
  "rgb": {
    "r": 31,
    "g": 106,
    "b": 168
  },
  "hsl": {
    "h": 207.153,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51106,
    "c": 0.12143,
    "h": 248.3
  },
  "luminance": 0.13427
}

Semantic roles & 50–950 ramp

primary
#1F6AA8
secondary
#C68C5D
accent
#8C3CEC
background
#F7F9FC
surface
#EDF1F8
border
#C8CBD1
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F6AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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