#2571A5#2571A5

#2571A5 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.8% C 0.109 H 243.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2571A5
RGBrgb(37, 113, 165)
HSLhsl(204, 63%, 40%)
HSVhsv(204, 78%, 65%)
CMYKcmyk(77.6%, 31.5%, 0%, 35.3%)
CIE-LABlab(45.52, -4.58, -34.44)
CIE-LCHlch(45.52, 34.75, 262.42°)
OKLaboklab(52.77% -0.0494 -0.0976)
OKLCHoklch(52.77% 0.109 243.2)
XYZxyz(13.4570, 14.9186, 37.7604)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2571A5 #A55925
analogous
#25A599 #2571A5 #2531A5
triadic
#2571A5 #A52571 #71A525
tetradic
#2571A5 #9925A5 #A55925 #31A525
square
#2571A5 #9925A5 #A55925 #31A525
split-complementary
#2571A5 #A52531 #A59925
monochromatic
#0F2D41 #1A4F73 #2571A5 #3592D2 #67ADDD

Accessibility & contrast

On white

5.27
#2571A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2571A5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2571A5#FFFFFF#000000##FFFFFF
##2571A51.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.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: #2571a5;
/* rgb */ color: rgb(37, 113, 165);
/* oklch */ color: oklch(52.8% 0.109 243.2);
Tailwind
colors: {
  custom: {
    50: '#7399c0',
    500: '#2571a5',
    950: '#000000',
  },
}
SCSS
$custom: #2571a5;
$custom-light: #7399c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2571a5",
  "rgb": {
    "r": 37,
    "g": 113,
    "b": 165
  },
  "hsl": {
    "h": 204.375,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52772,
    "c": 0.10943,
    "h": 243.2
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

primary
#2571A5
secondary
#C38A63
accent
#8441E6
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2571A5

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

Preview Lab → · Contrast checker → · Palette generator →

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