#2F5876#2F5876

#2F5876 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.4% C 0.068 H 242.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2F5876
RGBrgb(47, 88, 118)
HSLhsl(205, 43%, 32%)
HSVhsv(205, 60%, 46%)
CMYKcmyk(60.2%, 25.4%, 0%, 53.7%)
CIE-LABlab(35.77, -4.67, -21.38)
CIE-LCHlch(35.77, 21.88, 257.67°)
OKLaboklab(44.41% -0.0316 -0.0599)
OKLCHoklch(44.41% 0.068 242.2)
XYZxyz(7.9308, 8.8911, 18.4342)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5876 #764D2F
analogous
#2F7670 #2F5876 #2F3576
triadic
#2F5876 #762F58 #58762F
tetradic
#2F5876 #702F76 #764D2F #35762F
square
#2F5876 #702F76 #764D2F #35762F
split-complementary
#2F5876 #762F35 #76702F
monochromatic
#0C171E #1E374A #2F5876 #4079A2 #6097C0

Accessibility & contrast

On white

7.56
#2F5876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2F5876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5876
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5876#FFFFFF#000000##FFFFFF
##2F58761.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5877
Deuteranopia (green-blind)
#415175
Tritanopia (blue-blind)
#005F62
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5876;
/* rgb */ color: rgb(47, 88, 118);
/* oklch */ color: oklch(44.4% 0.068 242.2);
Tailwind
colors: {
  custom: {
    50: '#6e879d',
    500: '#2f5876',
    950: '#000000',
  },
}
SCSS
$custom: #2f5876;
$custom-light: #6e879d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5876",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 118
  },
  "hsl": {
    "h": 205.352,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44412,
    "c": 0.06774,
    "h": 242.2
  },
  "luminance": 0.08892
}

Semantic roles & 50–950 ramp

primary
#2F5876
secondary
#A77A5A
accent
#8A55D3
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #2F5876

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

Preview Lab → · Contrast checker → · Palette generator →

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