#2B5871#2B5871

#2B5871 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.0% C 0.064 H 235.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2B5871
RGBrgb(43, 88, 113)
HSLhsl(201, 45%, 31%)
HSVhsv(201, 62%, 44%)
CMYKcmyk(61.9%, 22.1%, 0%, 55.7%)
CIE-LABlab(35.37, -7.29, -18.92)
CIE-LCHlch(35.37, 20.28, 248.92°)
OKLaboklab(43.97% -0.0368 -0.0529)
OKLCHoklch(43.97% 0.064 235.2)
XYZxyz(7.4655, 8.6846, 16.9024)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5871 #71442B
analogous
#2B7167 #2B5871 #2B3571
triadic
#2B5871 #712B58 #58712B
tetradic
#2B5871 #672B71 #71442B #35712B
square
#2B5871 #672B71 #71442B #35712B
split-complementary
#2B5871 #712B35 #71672B
monochromatic
#091318 #1A3545 #2B5871 #3C7B9D #579ABF

Accessibility & contrast

On white

7.67
#2B5871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2B5871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5871
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5871#FFFFFF#000000##FFFFFF
##2B58711.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5772
Deuteranopia (green-blind)
#425071
Tritanopia (blue-blind)
#005F60
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5871;
/* rgb */ color: rgb(43, 88, 113);
/* oklch */ color: oklch(44.0% 0.064 235.2);
Tailwind
colors: {
  custom: {
    50: '#6b879a',
    500: '#2b5871',
    950: '#000000',
  },
}
SCSS
$custom: #2b5871;
$custom-light: #6b879a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5871",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 201.429,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43968,
    "c": 0.06444,
    "h": 235.2
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#2B5871
secondary
#A37155
accent
#8153D5
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2B5871

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

Preview Lab → · Contrast checker → · Palette generator →

#2B5871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva