#2371C5#2371C5

#2371C5 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.7% C 0.150 H 253.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2371C5
RGBrgb(35, 113, 197)
HSLhsl(211, 70%, 45%)
HSVhsv(211, 82%, 77%)
CMYKcmyk(82.2%, 42.6%, 0%, 22.7%)
CIE-LABlab(47.23, 7.34, -50.32)
CIE-LCHlch(47.23, 50.85, 278.30°)
OKLaboklab(54.67% -0.042 -0.1442)
OKLCHoklch(54.67% 0.15 253.8)
XYZxyz(16.6725, 16.1967, 55.0601)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2371C5 #C57723
analogous
#23C2C5 #2371C5 #2623C5
triadic
#2371C5 #C52371 #71C523
tetradic
#2371C5 #C523C2 #C57723 #23C526
square
#2371C5 #C523C2 #C57723 #23C526
split-complementary
#2371C5 #C52623 #C2C523
monochromatic
#11355D #1A5391 #2371C5 #4790DE #7BAFE8

Accessibility & contrast

On white

4.95
#2371C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2371C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2371C5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2371C5#FFFFFF#000000##FFFFFF
##2371C51.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4678C8
Deuteranopia (green-blind)
#2869C3
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2371c5;
/* rgb */ color: rgb(35, 113, 197);
/* oklch */ color: oklch(54.7% 0.150 253.8);
Tailwind
colors: {
  custom: {
    50: '#7999d7',
    500: '#2371c5',
    950: '#000000',
  },
}
SCSS
$custom: #2371c5;
$custom-light: #7999d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2371c5",
  "rgb": {
    "r": 35,
    "g": 113,
    "b": 197
  },
  "hsl": {
    "h": 211.111,
    "s": 69.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5467,
    "c": 0.15015,
    "h": 253.8
  },
  "luminance": 0.16199
}

Semantic roles & 50–950 ramp

primary
#2371C5
secondary
#CFA474
accent
#973BED
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2371C5

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

Preview Lab → · Contrast checker → · Palette generator →

#2371C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva