#1F6EA6#1F6EA6

#1F6EA6 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.9% C 0.115 H 244.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#1F6EA6
RGBrgb(31, 110, 166)
HSLhsl(205, 69%, 39%)
HSVhsv(205, 81%, 65%)
CMYKcmyk(81.3%, 33.7%, 0%, 34.9%)
CIE-LABlab(44.51, -3.07, -36.63)
CIE-LCHlch(44.51, 36.76, 265.21°)
OKLaboklab(51.95% -0.0492 -0.1041)
OKLCHoklch(51.95% 0.115 244.7)
XYZxyz(13.0213, 14.1947, 38.1226)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6EA6 #A6571F
analogous
#1FA69A #1F6EA6 #1F2AA6
triadic
#1F6EA6 #A61F6E #6EA61F
tetradic
#1F6EA6 #9A1FA6 #A6571F #2AA61F
square
#1F6EA6 #9A1FA6 #A6571F #2AA61F
split-complementary
#1F6EA6 #A61F2A #A69A1F
monochromatic
#0C2A3F #154C72 #1F6EA6 #2B90D7 #5EABE1

Accessibility & contrast

On white

5.47
#1F6EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#1F6EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6EA6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6EA6#FFFFFF#000000##FFFFFF
##1F6EA61.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5470A8
Deuteranopia (green-blind)
#4164A5
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f6ea6;
/* rgb */ color: rgb(31, 110, 166);
/* oklch */ color: oklch(51.9% 0.115 244.7);
Tailwind
colors: {
  custom: {
    50: '#7197c0',
    500: '#1f6ea6',
    950: '#000000',
  },
}
SCSS
$custom: #1f6ea6;
$custom-light: #7197c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6ea6",
  "rgb": {
    "r": 31,
    "g": 110,
    "b": 166
  },
  "hsl": {
    "h": 204.889,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51949,
    "c": 0.11515,
    "h": 244.7
  },
  "luminance": 0.14196
}

Semantic roles & 50–950 ramp

primary
#1F6EA6
secondary
#C5875B
accent
#853CEB
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F6EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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