#2F5978#2F5978

#2F5978 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.8% C 0.069 H 242.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2F5978
RGBrgb(47, 89, 120)
HSLhsl(205, 44%, 33%)
HSVhsv(205, 61%, 47%)
CMYKcmyk(60.8%, 25.8%, 0%, 52.9%)
CIE-LABlab(36.18, -4.60, -21.97)
CIE-LCHlch(36.18, 22.45, 258.18°)
OKLaboklab(44.77% -0.0321 -0.0616)
OKLCHoklch(44.77% 0.069 242.5)
XYZxyz(8.1336, 9.1044, 19.0944)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5978 #784E2F
analogous
#2F7872 #2F5978 #2F3578
triadic
#2F5978 #782F59 #59782F
tetradic
#2F5978 #722F78 #784E2F #35782F
square
#2F5978 #722F78 #784E2F #35782F
split-complementary
#2F5978 #782F35 #78722F
monochromatic
#0D1820 #1E384C #2F5978 #407AA4 #6098C1

Accessibility & contrast

On white

7.44
#2F5978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2F5978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5978
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5978#FFFFFF#000000##FFFFFF
##2F59781.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5979
Deuteranopia (green-blind)
#415277
Tritanopia (blue-blind)
#006164
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f5978;
/* rgb */ color: rgb(47, 89, 120);
/* oklch */ color: oklch(44.8% 0.069 242.5);
Tailwind
colors: {
  custom: {
    50: '#6e879f',
    500: '#2f5978',
    950: '#000000',
  },
}
SCSS
$custom: #2f5978;
$custom-light: #6e879f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5978",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 120
  },
  "hsl": {
    "h": 205.479,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44767,
    "c": 0.06949,
    "h": 242.5
  },
  "luminance": 0.09105
}

Semantic roles & 50–950 ramp

primary
#2F5978
secondary
#A87C5B
accent
#8A54D3
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #2F5978

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

Preview Lab → · Contrast checker → · Palette generator →

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