#1F6EA8#1F6EA8

#1F6EA8 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.1% C 0.118 H 245.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#1F6EA8
RGBrgb(31, 110, 168)
HSLhsl(205, 69%, 39%)
HSVhsv(205, 82%, 66%)
CMYKcmyk(81.5%, 34.5%, 0%, 34.1%)
CIE-LABlab(44.62, -2.31, -37.64)
CIE-LCHlch(44.62, 37.71, 266.50°)
OKLaboklab(52.07% -0.0486 -0.1071)
OKLCHoklch(52.07% 0.118 245.6)
XYZxyz(13.2061, 14.2687, 39.0963)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6EA8 #A8591F
analogous
#1FA89E #1F6EA8 #1F2AA8
triadic
#1F6EA8 #A81F6E #6EA81F
tetradic
#1F6EA8 #9E1FA8 #A8591F #2AA81F
square
#1F6EA8 #9E1FA8 #A8591F #2AA81F
split-complementary
#1F6EA8 #A81F2A #A89E1F
monochromatic
#0C2A41 #154C74 #1F6EA8 #2C8FD8 #60ABE2

Accessibility & contrast

On white

5.45
#1F6EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#1F6EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6EA8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6EA8#FFFFFF#000000##FFFFFF
##1F6EA81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5370AA
Deuteranopia (green-blind)
#3F64A7
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f6ea8;
/* rgb */ color: rgb(31, 110, 168);
/* oklch */ color: oklch(52.1% 0.118 245.6);
Tailwind
colors: {
  custom: {
    50: '#7297c2',
    500: '#1f6ea8',
    950: '#000000',
  },
}
SCSS
$custom: #1f6ea8;
$custom-light: #7297c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6ea8",
  "rgb": {
    "r": 31,
    "g": 110,
    "b": 168
  },
  "hsl": {
    "h": 205.401,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52066,
    "c": 0.11758,
    "h": 245.6
  },
  "luminance": 0.1427
}

Semantic roles & 50–950 ramp

primary
#1F6EA8
secondary
#C6895D
accent
#863CEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F6EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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