#2571AF#2571AF

#2571AF is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.3% C 0.122 H 247.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2571AF
RGBrgb(37, 113, 175)
HSLhsl(207, 65%, 42%)
HSVhsv(207, 79%, 69%)
CMYKcmyk(78.9%, 35.4%, 0%, 31.4%)
CIE-LABlab(46.04, -0.84, -39.48)
CIE-LCHlch(46.04, 39.49, 268.78°)
OKLaboklab(53.35% -0.0464 -0.1123)
OKLCHoklch(53.35% 0.122 247.6)
XYZxyz(14.4030, 15.2970, 42.7426)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2571AF #AF6325
analogous
#25AFA8 #2571AF #252CAF
triadic
#2571AF #AF2571 #71AF25
tetradic
#2571AF #A825AF #AF6325 #2CAF25
square
#2571AF #A825AF #AF6325 #2CAF25
split-complementary
#2571AF #AF252C #AFA825
monochromatic
#10304A #1A507C #2571AF #3C90D6 #6EADE0

Accessibility & contrast

On white

5.17
#2571AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2571AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2571AF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2571AF#FFFFFF#000000##FFFFFF
##2571AF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#4067AE
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2571af;
/* rgb */ color: rgb(37, 113, 175);
/* oklch */ color: oklch(53.3% 0.122 247.6);
Tailwind
colors: {
  custom: {
    50: '#7599c7',
    500: '#2571af',
    950: '#000000',
  },
}
SCSS
$custom: #2571af;
$custom-light: #7599c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2571af",
  "rgb": {
    "r": 37,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 206.957,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53347,
    "c": 0.12156,
    "h": 247.6
  },
  "luminance": 0.15299
}

Semantic roles & 50–950 ramp

primary
#2571AF
secondary
#C79369
accent
#8B40E8
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2571AF

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

Preview Lab → · Contrast checker → · Palette generator →

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