#1F7BA5#1F7BA5

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

Color values

HEX#1F7BA5
RGBrgb(31, 123, 165)
HSLhsl(199, 68%, 38%)
HSVhsv(199, 81%, 65%)
CMYKcmyk(81.2%, 25.5%, 0%, 35.3%)
CIE-LABlab(48.48, -11.14, -29.82)
CIE-LCHlch(48.48, 31.83, 249.52°)
OKLaboklab(55.08% -0.0617 -0.0841)
OKLCHoklch(55.08% 0.104 233.8)
XYZxyz(14.4368, 17.1720, 38.1437)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7BA5 #A5491F
analogous
#1FA58C #1F7BA5 #1F38A5
triadic
#1F7BA5 #A51F7B #7BA51F
tetradic
#1F7BA5 #8C1FA5 #A5491F #38A51F
square
#1F7BA5 #8C1FA5 #A5491F #38A51F
split-complementary
#1F7BA5 #A51F38 #A58C1F
monochromatic
#0C2E3E #155571 #1F7BA5 #2AA1D7 #5EB8E1

Accessibility & contrast

On white

4.74
#1F7BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#1F7BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7BA5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7BA5#FFFFFF#000000##FFFFFF
##1F7BA51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667AA7
Deuteranopia (green-blind)
#546EA4
Tritanopia (blue-blind)
#008689
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f7ba5;
/* rgb */ color: rgb(31, 123, 165);
/* oklch */ color: oklch(55.1% 0.104 233.8);
Tailwind
colors: {
  custom: {
    50: '#72a1c0',
    500: '#1f7ba5',
    950: '#000000',
  },
}
SCSS
$custom: #1f7ba5;
$custom-light: #72a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7ba5",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 165
  },
  "hsl": {
    "h": 198.806,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.55078,
    "c": 0.10433,
    "h": 233.8
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#1F7BA5
secondary
#C57C5B
accent
#733DEB
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F7BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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