#2371A5#2371A5

#2371A5 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.7% C 0.110 H 242.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2371A5
RGBrgb(35, 113, 165)
HSLhsl(204, 65%, 39%)
HSVhsv(204, 79%, 65%)
CMYKcmyk(78.8%, 31.5%, 0%, 35.3%)
CIE-LABlab(45.47, -4.82, -34.52)
CIE-LCHlch(45.47, 34.86, 262.05°)
OKLaboklab(52.72% -0.0504 -0.0979)
OKLCHoklch(52.72% 0.11 242.8)
XYZxyz(13.3871, 14.8826, 37.7571)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2371A5 #A55723
analogous
#23A598 #2371A5 #2330A5
triadic
#2371A5 #A52371 #71A523
tetradic
#2371A5 #9823A5 #A55723 #30A523
square
#2371A5 #9823A5 #A55723 #30A523
split-complementary
#2371A5 #A52330 #A59823
monochromatic
#0E2C40 #184E73 #2371A5 #3293D3 #64ADDE

Accessibility & contrast

On white

5.28
#2371A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2371A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2371A5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2371A5#FFFFFF#000000##FFFFFF
##2371A51.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5972A7
Deuteranopia (green-blind)
#4766A4
Tritanopia (blue-blind)
#007E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2371a5;
/* rgb */ color: rgb(35, 113, 165);
/* oklch */ color: oklch(52.7% 0.110 242.8);
Tailwind
colors: {
  custom: {
    50: '#7299c0',
    500: '#2371a5',
    950: '#000000',
  },
}
SCSS
$custom: #2371a5;
$custom-light: #7299c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2371a5",
  "rgb": {
    "r": 35,
    "g": 113,
    "b": 165
  },
  "hsl": {
    "h": 204,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52718,
    "c": 0.1101,
    "h": 242.8
  },
  "luminance": 0.14884
}

Semantic roles & 50–950 ramp

primary
#2371A5
secondary
#C48860
accent
#8340E8
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2371A5

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

Preview Lab → · Contrast checker → · Palette generator →

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