#2571A8#2571A8

#2571A8 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.9% C 0.113 H 244.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2571A8
RGBrgb(37, 113, 168)
HSLhsl(205, 64%, 40%)
HSVhsv(205, 78%, 66%)
CMYKcmyk(78%, 32.7%, 0%, 34.1%)
CIE-LABlab(45.67, -3.47, -35.96)
CIE-LCHlch(45.67, 36.13, 264.49°)
OKLaboklab(52.94% -0.0485 -0.1021)
OKLCHoklch(52.94% 0.113 244.6)
XYZxyz(13.7332, 15.0291, 39.2153)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2571A8 #A85C25
analogous
#25A89D #2571A8 #252FA8
triadic
#2571A8 #A82571 #71A825
tetradic
#2571A8 #9D25A8 #A85C25 #2FA825
square
#2571A8 #9D25A8 #A85C25 #2FA825
split-complementary
#2571A8 #A8252F #A89D25
monochromatic
#0F2E44 #1A4F76 #2571A8 #3792D3 #69ADDE

Accessibility & contrast

On white

5.24
#2571A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2571A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2571A8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2571A8#FFFFFF#000000##FFFFFF
##2571A81.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AA
Deuteranopia (green-blind)
#4567A7
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2571a8;
/* rgb */ color: rgb(37, 113, 168);
/* oklch */ color: oklch(52.9% 0.113 244.6);
Tailwind
colors: {
  custom: {
    50: '#7399c2',
    500: '#2571a8',
    950: '#000000',
  },
}
SCSS
$custom: #2571a8;
$custom-light: #7399c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2571a8",
  "rgb": {
    "r": 37,
    "g": 113,
    "b": 168
  },
  "hsl": {
    "h": 205.191,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52941,
    "c": 0.11299,
    "h": 244.6
  },
  "luminance": 0.15031
}

Semantic roles & 50–950 ramp

primary
#2571A8
secondary
#C48D65
accent
#8741E7
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2571A8

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

Preview Lab → · Contrast checker → · Palette generator →

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