#1F6BA8#1F6BA8

#1F6BA8 is a mid, vivid cyan. Relative luminance 0.136; OKLCH L 51.3% C 0.120 H 247.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#1F6BA8
RGBrgb(31, 107, 168)
HSLhsl(207, 69%, 39%)
HSVhsv(207, 82%, 66%)
CMYKcmyk(81.5%, 36.3%, 0%, 34.1%)
CIE-LABlab(43.70, -0.46, -39.09)
CIE-LCHlch(43.70, 39.09, 269.33°)
OKLaboklab(51.35% -0.0459 -0.1114)
OKLCHoklch(51.35% 0.12 247.6)
XYZxyz(12.8879, 13.6323, 38.9902)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6BA8 #A85C1F
analogous
#1FA8A1 #1F6BA8 #1F27A8
triadic
#1F6BA8 #A81F6B #6BA81F
tetradic
#1F6BA8 #A11FA8 #A85C1F #27A81F
square
#1F6BA8 #A11FA8 #A85C1F #27A81F
split-complementary
#1F6BA8 #A81F27 #A8A11F
monochromatic
#0C2941 #154A74 #1F6BA8 #2C8CD8 #60A8E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F6BA8#FFFFFF#000000##FFFFFF
##1F6BA81.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)
#4E6EAB
Deuteranopia (green-blind)
#3A62A7
Tritanopia (blue-blind)
#007A81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f6ba8;
/* rgb */ color: rgb(31, 107, 168);
/* oklch */ color: oklch(51.3% 0.120 247.6);
Tailwind
colors: {
  custom: {
    50: '#7195c2',
    500: '#1f6ba8',
    950: '#000000',
  },
}
SCSS
$custom: #1f6ba8;
$custom-light: #7195c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6ba8",
  "rgb": {
    "r": 31,
    "g": 107,
    "b": 168
  },
  "hsl": {
    "h": 206.715,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51345,
    "c": 0.12044,
    "h": 247.6
  },
  "luminance": 0.13634
}

Semantic roles & 50–950 ramp

primary
#1F6BA8
secondary
#C68C5D
accent
#8A3CEC
background
#F7F9FB
surface
#EDF1F7
border
#C8CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F6BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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