#2F5979#2F5979

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

Color values

HEX#2F5979
RGBrgb(47, 89, 121)
HSLhsl(206, 44%, 33%)
HSVhsv(206, 61%, 47%)
CMYKcmyk(61.2%, 26.4%, 0%, 52.5%)
CIE-LABlab(36.23, -4.25, -22.52)
CIE-LCHlch(36.23, 22.91, 259.31°)
OKLaboklab(44.82% -0.0318 -0.0632)
OKLCHoklch(44.82% 0.071 243.3)
XYZxyz(8.1946, 9.1288, 19.4156)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5979 #794F2F
analogous
#2F7974 #2F5979 #2F3479
triadic
#2F5979 #792F59 #59792F
tetradic
#2F5979 #742F79 #794F2F #34792F
square
#2F5979 #742F79 #794F2F #34792F
split-complementary
#2F5979 #792F34 #79742F
monochromatic
#0D1821 #1E394D #2F5979 #4079A5 #6198C2

Accessibility & contrast

On white

7.43
#2F5979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2F5979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5979
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5979#FFFFFF#000000##FFFFFF
##2F59791.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f5979;
/* rgb */ color: rgb(47, 89, 121);
/* oklch */ color: oklch(44.8% 0.071 243.3);
Tailwind
colors: {
  custom: {
    50: '#6e87a0',
    500: '#2f5979',
    950: '#000000',
  },
}
SCSS
$custom: #2f5979;
$custom-light: #6e87a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5979",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 121
  },
  "hsl": {
    "h": 205.946,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44819,
    "c": 0.07072,
    "h": 243.3
  },
  "luminance": 0.0913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F5979

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

Preview Lab → · Contrast checker → · Palette generator →

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