#2371AC#2371AC

#2371AC is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.1% C 0.118 H 246.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2371AC
RGBrgb(35, 113, 172)
HSLhsl(206, 66%, 41%)
HSVhsv(206, 80%, 67%)
CMYKcmyk(79.7%, 34.3%, 0%, 32.5%)
CIE-LABlab(45.83, -2.19, -38.06)
CIE-LCHlch(45.83, 38.12, 266.70°)
OKLaboklab(53.12% -0.0483 -0.1082)
OKLCHoklch(53.12% 0.118 246)
XYZxyz(14.0418, 15.1444, 41.2048)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2371AC #AC5E23
analogous
#23ACA2 #2371AC #232DAC
triadic
#2371AC #AC2371 #71AC23
tetradic
#2371AC #A223AC #AC5E23 #2DAC23
square
#2371AC #A223AC #AC5E23 #2DAC23
split-complementary
#2371AC #AC232D #ACA223
monochromatic
#0E2E46 #195079 #2371AC #3691D6 #69ADE0

Accessibility & contrast

On white

5.21
#2371AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2371AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2371AC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2371AC#FFFFFF#000000##FFFFFF
##2371AC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5573AF
Deuteranopia (green-blind)
#4267AB
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2371ac;
/* rgb */ color: rgb(35, 113, 172);
/* oklch */ color: oklch(53.1% 0.118 246.0);
Tailwind
colors: {
  custom: {
    50: '#7499c5',
    500: '#2371ac',
    950: '#000000',
  },
}
SCSS
$custom: #2371ac;
$custom-light: #7499c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2371ac",
  "rgb": {
    "r": 35,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 205.839,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53119,
    "c": 0.11849,
    "h": 246
  },
  "luminance": 0.15146
}

Semantic roles & 50–950 ramp

primary
#2371AC
secondary
#C68F64
accent
#883FE9
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#090D13
muted
#7B7E82

Preview Lab

Preview with #2371AC

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

Preview Lab → · Contrast checker → · Palette generator →

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