#1F7BB0#1F7BB0

#1F7BB0 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.7% C 0.116 H 240.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#1F7BB0
RGBrgb(31, 123, 176)
HSLhsl(202, 70%, 41%)
HSVhsv(202, 82%, 69%)
CMYKcmyk(82.4%, 30.1%, 0%, 31%)
CIE-LABlab(48.99, -7.09, -35.40)
CIE-LCHlch(48.99, 36.11, 258.68°)
OKLaboklab(55.66% -0.0579 -0.1003)
OKLCHoklch(55.66% 0.116 240)
XYZxyz(15.4814, 17.5899, 43.6451)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7BB0 #B0541F
analogous
#1FB09C #1F7BB0 #1F33B0
triadic
#1F7BB0 #B01F7B #7BB01F
tetradic
#1F7BB0 #9C1FB0 #B0541F #33B01F
square
#1F7BB0 #9C1FB0 #B0541F #33B01F
split-complementary
#1F7BB0 #B01F33 #B09C1F
monochromatic
#0D3248 #16577C #1F7BB0 #319DDB #65B6E4

Accessibility & contrast

On white

4.65
#1F7BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#1F7BB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7BB0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7BB0#FFFFFF#000000##FFFFFF
##1F7BB01.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627CB2
Deuteranopia (green-blind)
#4E6FAF
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f7bb0;
/* rgb */ color: rgb(31, 123, 176);
/* oklch */ color: oklch(55.7% 0.116 240.0);
Tailwind
colors: {
  custom: {
    50: '#74a1c8',
    500: '#1f7bb0',
    950: '#000000',
  },
}
SCSS
$custom: #1f7bb0;
$custom-light: #74a1c8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7bb0",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 176
  },
  "hsl": {
    "h": 201.931,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.55662,
    "c": 0.11588,
    "h": 240
  },
  "luminance": 0.17592
}

Semantic roles & 50–950 ramp

primary
#1F7BB0
secondary
#C98762
accent
#7C3BED
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #1F7BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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