#1F91B2#1F91B2

#1F91B2 is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.2% C 0.106 H 223.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#1F91B2
RGBrgb(31, 145, 178)
HSLhsl(193, 70%, 41%)
HSVhsv(193, 83%, 70%)
CMYKcmyk(82.6%, 18.5%, 0%, 30.2%)
CIE-LABlab(55.84, -18.73, -25.89)
CIE-LCHlch(55.84, 31.96, 234.11°)
OKLaboklab(61.16% -0.0778 -0.0726)
OKLCHoklch(61.16% 0.106 223)
XYZxyz(18.7230, 23.7541, 45.7090)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F91B2 #B2401F
analogous
#1FB289 #1F91B2 #1F48B2
triadic
#1F91B2 #B21F91 #91B21F
tetradic
#1F91B2 #891FB2 #B2401F #48B21F
square
#1F91B2 #891FB2 #B2401F #48B21F
split-complementary
#1F91B2 #B21F48 #B2891F
monochromatic
#0D3C4A #16677E #1F91B2 #33B6DB #67C8E5

Accessibility & contrast

On white

3.65
#1F91B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#1F91B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F91B2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F91B2#FFFFFF#000000##000000
##1F91B21.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8DB4
Deuteranopia (green-blind)
#6B80B2
Tritanopia (blue-blind)
#009B9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f91b2;
/* rgb */ color: rgb(31, 145, 178);
/* oklch */ color: oklch(61.2% 0.106 223.0);
Tailwind
colors: {
  custom: {
    50: '#75b1c9',
    500: '#1f91b2',
    950: '#000000',
  },
}
SCSS
$custom: #1f91b2;
$custom-light: #75b1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f91b2",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 178
  },
  "hsl": {
    "h": 193.469,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.61156,
    "c": 0.10643,
    "h": 223
  },
  "luminance": 0.23756
}

Semantic roles & 50–950 ramp

primary
#1F91B2
secondary
#CA7A63
accent
#633BED
background
#F7FAFC
surface
#EEF5F8
border
#C9CFD1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F91B2

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

Preview Lab → · Contrast checker → · Palette generator →

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