#2F5872#2F5872

#2F5872 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.2% C 0.063 H 238.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2F5872
RGBrgb(47, 88, 114)
HSLhsl(203, 42%, 32%)
HSVhsv(203, 59%, 45%)
CMYKcmyk(58.8%, 22.8%, 0%, 55.3%)
CIE-LABlab(35.59, -6.05, -19.18)
CIE-LCHlch(35.59, 20.11, 252.50°)
OKLaboklab(44.21% -0.0331 -0.0536)
OKLCHoklch(44.21% 0.063 238.3)
XYZxyz(7.6982, 8.7980, 17.2088)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5872 #72492F
analogous
#2F726B #2F5872 #2F3772
triadic
#2F5872 #722F58 #58722F
tetradic
#2F5872 #6B2F72 #72492F #37722F
square
#2F5872 #6B2F72 #72492F #37722F
split-complementary
#2F5872 #722F37 #726B2F
monochromatic
#0B151B #1D3747 #2F5872 #41799D #5F98BD

Accessibility & contrast

On white

7.61
#2F5872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2F5872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5872
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5872#FFFFFF#000000##FFFFFF
##2F58721.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5873
Deuteranopia (green-blind)
#435172
Tritanopia (blue-blind)
#005F61
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5872;
/* rgb */ color: rgb(47, 88, 114);
/* oklch */ color: oklch(44.2% 0.063 238.3);
Tailwind
colors: {
  custom: {
    50: '#6d879a',
    500: '#2f5872',
    950: '#000000',
  },
}
SCSS
$custom: #2f5872;
$custom-light: #6d879a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5872",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 114
  },
  "hsl": {
    "h": 203.284,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44209,
    "c": 0.06301,
    "h": 238.3
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#2F5872
secondary
#A3765A
accent
#8656D1
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2F5872

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

Preview Lab → · Contrast checker → · Palette generator →

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