#2587B2#2587B2

#2587B2 is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.8% C 0.108 H 232.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2587B2
RGBrgb(37, 135, 178)
HSLhsl(198, 66%, 42%)
HSVhsv(198, 79%, 70%)
CMYKcmyk(79.2%, 24.2%, 0%, 30.2%)
CIE-LABlab(52.88, -12.65, -30.48)
CIE-LCHlch(52.88, 33.00, 247.45°)
OKLaboklab(58.81% -0.0661 -0.0859)
OKLCHoklch(58.81% 0.108 232.4)
XYZxyz(17.4595, 20.9335, 45.2312)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2587B2 #B25025
analogous
#25B297 #2587B2 #2541B2
triadic
#2587B2 #B22587 #87B225
tetradic
#2587B2 #9725B2 #B25025 #41B225
square
#2587B2 #9725B2 #B25025 #41B225
split-complementary
#2587B2 #B22541 #B29725
monochromatic
#103A4D #1A617F #2587B2 #3DA8D7 #70BFE1

Accessibility & contrast

On white

4.05
#2587B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#2587B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2587B2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2587B2#FFFFFF#000000##000000
##2587B21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7186B4
Deuteranopia (green-blind)
#5F78B1
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2587b2;
/* rgb */ color: rgb(37, 135, 178);
/* oklch */ color: oklch(58.8% 0.108 232.4);
Tailwind
colors: {
  custom: {
    50: '#76aac9',
    500: '#2587b2',
    950: '#000000',
  },
}
SCSS
$custom: #2587b2;
$custom-light: #76aac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2587b2",
  "rgb": {
    "r": 37,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 198.298,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.10837,
    "h": 232.4
  },
  "luminance": 0.20936
}

Semantic roles & 50–950 ramp

primary
#2587B2
secondary
#C8876B
accent
#733FE9
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2587B2

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

Preview Lab → · Contrast checker → · Palette generator →

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