#2F5877#2F5877

#2F5877 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.5% C 0.069 H 243.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2F5877
RGBrgb(47, 88, 119)
HSLhsl(206, 43%, 33%)
HSVhsv(206, 61%, 47%)
CMYKcmyk(60.5%, 26.1%, 0%, 53.3%)
CIE-LABlab(35.82, -4.33, -21.92)
CIE-LCHlch(35.82, 22.35, 258.84°)
OKLaboklab(44.46% -0.0313 -0.0615)
OKLCHoklch(44.46% 0.069 243)
XYZxyz(7.9906, 8.9150, 18.7489)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5877 #774E2F
analogous
#2F7772 #2F5877 #2F3477
triadic
#2F5877 #772F58 #58772F
tetradic
#2F5877 #722F77 #774E2F #34772F
square
#2F5877 #722F77 #774E2F #34772F
split-complementary
#2F5877 #772F34 #77722F
monochromatic
#0C171F #1E384B #2F5877 #4078A3 #6097C0

Accessibility & contrast

On white

7.55
#2F5877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5877
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5877#FFFFFF#000000##FFFFFF
##2F58771.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5878
Deuteranopia (green-blind)
#415176
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5877;
/* rgb */ color: rgb(47, 88, 119);
/* oklch */ color: oklch(44.5% 0.069 243.0);
Tailwind
colors: {
  custom: {
    50: '#6e879e',
    500: '#2f5877',
    950: '#000000',
  },
}
SCSS
$custom: #2f5877;
$custom-light: #6e879e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5877",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 205.833,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44464,
    "c": 0.06897,
    "h": 243
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#2F5877
secondary
#A77C5B
accent
#8B55D3
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #2F5877

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

Preview Lab → · Contrast checker → · Palette generator →

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