#2571AC#2571AC

#2571AC is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.2% C 0.118 H 246.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2571AC
RGBrgb(37, 113, 172)
HSLhsl(206, 65%, 41%)
HSVhsv(206, 78%, 67%)
CMYKcmyk(78.5%, 34.3%, 0%, 32.5%)
CIE-LABlab(45.88, -1.97, -37.98)
CIE-LCHlch(45.88, 38.03, 267.03°)
OKLaboklab(53.17% -0.0473 -0.108)
OKLCHoklch(53.17% 0.118 246.3)
XYZxyz(14.1116, 15.1804, 41.2081)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2571AC #AC6025
analogous
#25ACA3 #2571AC #252EAC
triadic
#2571AC #AC2571 #71AC25
tetradic
#2571AC #A325AC #AC6025 #2EAC25
square
#2571AC #A325AC #AC6025 #2EAC25
split-complementary
#2571AC #AC252E #ACA325
monochromatic
#0F2F47 #1A507A #2571AC #3A91D5 #6CADDF

Accessibility & contrast

On white

5.20
#2571AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2571AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2571AC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2571AC#FFFFFF#000000##FFFFFF
##2571AC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2571ac;
/* rgb */ color: rgb(37, 113, 172);
/* oklch */ color: oklch(53.2% 0.118 246.3);
Tailwind
colors: {
  custom: {
    50: '#7499c5',
    500: '#2571ac',
    950: '#000000',
  },
}
SCSS
$custom: #2571ac;
$custom-light: #7499c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2571ac",
  "rgb": {
    "r": 37,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 206.222,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53171,
    "c": 0.11786,
    "h": 246.3
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#2571AC
secondary
#C69067
accent
#8940E8
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#090D13
muted
#7B7E82

Preview Lab

Preview with #2571AC

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

Preview Lab → · Contrast checker → · Palette generator →

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