#1F7BA6#1F7BA6

#1F7BA6 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.1% C 0.105 H 234.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#1F7BA6
RGBrgb(31, 123, 166)
HSLhsl(199, 69%, 39%)
HSVhsv(199, 81%, 65%)
CMYKcmyk(81.3%, 25.9%, 0%, 34.9%)
CIE-LABlab(48.52, -10.77, -30.33)
CIE-LCHlch(48.52, 32.19, 250.45°)
OKLaboklab(55.13% -0.0613 -0.0856)
OKLCHoklch(55.13% 0.105 234.4)
XYZxyz(14.5282, 17.2086, 38.6249)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7BA6 #A64A1F
analogous
#1FA68D #1F7BA6 #1F37A6
triadic
#1F7BA6 #A61F7B #7BA61F
tetradic
#1F7BA6 #8D1FA6 #A64A1F #37A61F
square
#1F7BA6 #8D1FA6 #A64A1F #37A61F
split-complementary
#1F7BA6 #A61F37 #A68D1F
monochromatic
#0C2F3F #155572 #1F7BA6 #2BA0D7 #5EB7E1

Accessibility & contrast

On white

4.73
#1F7BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#1F7BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7BA6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7BA6#FFFFFF#000000##FFFFFF
##1F7BA61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667AA8
Deuteranopia (green-blind)
#546EA5
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f7ba6;
/* rgb */ color: rgb(31, 123, 166);
/* oklch */ color: oklch(55.1% 0.105 234.4);
Tailwind
colors: {
  custom: {
    50: '#72a1c0',
    500: '#1f7ba6',
    950: '#000000',
  },
}
SCSS
$custom: #1f7ba6;
$custom-light: #72a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7ba6",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 166
  },
  "hsl": {
    "h": 199.111,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5513,
    "c": 0.10532,
    "h": 234.4
  },
  "luminance": 0.1721
}

Semantic roles & 50–950 ramp

primary
#1F7BA6
secondary
#C57D5B
accent
#743CEB
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F7BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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