#2F5878#2F5878

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

Color values

HEX#2F5878
RGBrgb(47, 88, 120)
HSLhsl(206, 44%, 33%)
HSVhsv(206, 61%, 47%)
CMYKcmyk(60.8%, 26.7%, 0%, 52.9%)
CIE-LABlab(35.87, -3.98, -22.47)
CIE-LCHlch(35.87, 22.82, 259.96°)
OKLaboklab(44.52% -0.0309 -0.063)
OKLCHoklch(44.52% 0.07 243.9)
XYZxyz(8.0509, 8.9391, 19.0668)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5878 #784F2F
analogous
#2F7873 #2F5878 #2F3378
triadic
#2F5878 #782F58 #58782F
tetradic
#2F5878 #732F78 #784F2F #33782F
square
#2F5878 #732F78 #784F2F #33782F
split-complementary
#2F5878 #782F33 #78732F
monochromatic
#0D1820 #1E384C #2F5878 #4078A4 #6097C1

Accessibility & contrast

On white

7.53
#2F5878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2F5878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5878
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5878#FFFFFF#000000##FFFFFF
##2F58781.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f5878;
/* rgb */ color: rgb(47, 88, 120);
/* oklch */ color: oklch(44.5% 0.070 243.9);
Tailwind
colors: {
  custom: {
    50: '#6e879f',
    500: '#2f5878',
    950: '#000000',
  },
}
SCSS
$custom: #2f5878;
$custom-light: #6e879f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5878",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 120
  },
  "hsl": {
    "h": 206.301,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44516,
    "c": 0.07021,
    "h": 243.9
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#2F5878
secondary
#A87D5B
accent
#8C54D3
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #2F5878

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

Preview Lab → · Contrast checker → · Palette generator →

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