#2F5778#2F5778

#2F5778 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.3% C 0.071 H 245.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2F5778
RGBrgb(47, 87, 120)
HSLhsl(207, 44%, 33%)
HSVhsv(207, 61%, 47%)
CMYKcmyk(60.8%, 27.5%, 0%, 52.9%)
CIE-LABlab(35.55, -3.35, -22.96)
CIE-LCHlch(35.55, 23.20, 261.69°)
OKLaboklab(44.27% -0.0297 -0.0645)
OKLCHoklch(44.27% 0.071 245.3)
XYZxyz(7.9694, 8.7761, 19.0396)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5778 #78502F
analogous
#2F7874 #2F5778 #2F3278
triadic
#2F5778 #782F57 #57782F
tetradic
#2F5778 #742F78 #78502F #32782F
square
#2F5778 #742F78 #78502F #32782F
split-complementary
#2F5778 #782F32 #78742F
monochromatic
#0D1720 #1E374C #2F5778 #4077A4 #6095C1

Accessibility & contrast

On white

7.62
#2F5778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5778
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5778#FFFFFF#000000##FFFFFF
##2F57781.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495879
Deuteranopia (green-blind)
#3F5077
Tritanopia (blue-blind)
#005F62
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5778;
/* rgb */ color: rgb(47, 87, 120);
/* oklch */ color: oklch(44.3% 0.071 245.3);
Tailwind
colors: {
  custom: {
    50: '#6e869f',
    500: '#2f5778',
    950: '#000000',
  },
}
SCSS
$custom: #2f5778;
$custom-light: #6e869f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5778",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 120
  },
  "hsl": {
    "h": 207.123,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44266,
    "c": 0.07099,
    "h": 245.3
  },
  "luminance": 0.08777
}

Semantic roles & 50–950 ramp

primary
#2F5778
secondary
#A87E5B
accent
#8E54D3
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #2F5778

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

Preview Lab → · Contrast checker → · Palette generator →

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