#2571B2#2571B2

#2571B2 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.5% C 0.125 H 248.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2571B2
RGBrgb(37, 113, 178)
HSLhsl(208, 66%, 42%)
HSVhsv(208, 79%, 70%)
CMYKcmyk(79.2%, 36.5%, 0%, 30.2%)
CIE-LABlab(46.20, 0.29, -40.97)
CIE-LCHlch(46.20, 40.97, 270.41°)
OKLaboklab(53.53% -0.0456 -0.1167)
OKLCHoklch(53.53% 0.125 248.7)
XYZxyz(14.7009, 15.4162, 44.3117)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2571B2 #B26625
analogous
#25B2AD #2571B2 #252AB2
triadic
#2571B2 #B22571 #71B225
tetradic
#2571B2 #AD25B2 #B26625 #2AB225
square
#2571B2 #AD25B2 #B26625 #2AB225
split-complementary
#2571B2 #B2252A #B2AD25
monochromatic
#10314D #1A517F #2571B2 #3D90D7 #70ADE1

Accessibility & contrast

On white

5.14
#2571B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2571B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2571B2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2571B2#FFFFFF#000000##FFFFFF
##2571B21.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2571b2;
/* rgb */ color: rgb(37, 113, 178);
/* oklch */ color: oklch(53.5% 0.125 248.7);
Tailwind
colors: {
  custom: {
    50: '#7599c9',
    500: '#2571b2',
    950: '#000000',
  },
}
SCSS
$custom: #2571b2;
$custom-light: #7599c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2571b2",
  "rgb": {
    "r": 37,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 207.66,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53526,
    "c": 0.12531,
    "h": 248.7
  },
  "luminance": 0.15418
}

Semantic roles & 50–950 ramp

primary
#2571B2
secondary
#C8966B
accent
#8D3FE9
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2571B2

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

Preview Lab → · Contrast checker → · Palette generator →

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