#1F7BB4#1F7BB4

#1F7BB4 is a mid, vivid cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.120 H 241.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#1F7BB4
RGBrgb(31, 123, 180)
HSLhsl(203, 71%, 41%)
HSVhsv(203, 83%, 71%)
CMYKcmyk(82.8%, 31.7%, 0%, 29.4%)
CIE-LABlab(49.19, -5.60, -37.41)
CIE-LCHlch(49.19, 37.83, 261.49°)
OKLaboklab(55.88% -0.0567 -0.1062)
OKLCHoklch(55.88% 0.12 241.9)
XYZxyz(15.8830, 17.7505, 45.7602)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7BB4 #B4581F
analogous
#1FB4A3 #1F7BB4 #1F31B4
triadic
#1F7BB4 #B41F7B #7BB41F
tetradic
#1F7BB4 #A31FB4 #B4581F #31B41F
square
#1F7BB4 #A31FB4 #B4581F #31B41F
split-complementary
#1F7BB4 #B41F31 #B4A31F
monochromatic
#0D344C #165780 #1F7BB4 #349CDC #68B5E5

Accessibility & contrast

On white

4.61
#1F7BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#1F7BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7BB4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7BB4#FFFFFF#000000##FFFFFF
##1F7BB41.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607CB6
Deuteranopia (green-blind)
#4C6FB3
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f7bb4;
/* rgb */ color: rgb(31, 123, 180);
/* oklch */ color: oklch(55.9% 0.120 241.9);
Tailwind
colors: {
  custom: {
    50: '#74a0ca',
    500: '#1f7bb4',
    950: '#000000',
  },
}
SCSS
$custom: #1f7bb4;
$custom-light: #74a0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7bb4",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 180
  },
  "hsl": {
    "h": 202.953,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.55883,
    "c": 0.12037,
    "h": 241.9
  },
  "luminance": 0.17753
}

Semantic roles & 50–950 ramp

primary
#1F7BB4
secondary
#CB8B64
accent
#7F3AED
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #1F7BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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