#2F5976#2F5976

#2F5976 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.7% C 0.067 H 240.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2F5976
RGBrgb(47, 89, 118)
HSLhsl(205, 43%, 32%)
HSVhsv(205, 60%, 46%)
CMYKcmyk(60.2%, 24.6%, 0%, 53.7%)
CIE-LABlab(36.09, -5.29, -20.88)
CIE-LCHlch(36.09, 21.54, 255.78°)
OKLaboklab(44.66% -0.0329 -0.0585)
OKLCHoklch(44.66% 0.067 240.7)
XYZxyz(8.0135, 9.0564, 18.4618)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5976 #764C2F
analogous
#2F766F #2F5976 #2F3676
triadic
#2F5976 #762F59 #59762F
tetradic
#2F5976 #6F2F76 #764C2F #36762F
square
#2F5976 #6F2F76 #764C2F #36762F
split-complementary
#2F5976 #762F36 #766F2F
monochromatic
#0C171E #1E384A #2F5976 #407AA2 #6098C0

Accessibility & contrast

On white

7.47
#2F5976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2F5976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5976
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5976#FFFFFF#000000##FFFFFF
##2F59761.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5977
Deuteranopia (green-blind)
#425275
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f5976;
/* rgb */ color: rgb(47, 89, 118);
/* oklch */ color: oklch(44.7% 0.067 240.7);
Tailwind
colors: {
  custom: {
    50: '#6e879d',
    500: '#2f5976',
    950: '#000000',
  },
}
SCSS
$custom: #2f5976;
$custom-light: #6e879d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5976",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 118
  },
  "hsl": {
    "h": 204.507,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44664,
    "c": 0.06708,
    "h": 240.7
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#2F5976
secondary
#A7795A
accent
#8855D3
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #2F5976

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

Preview Lab → · Contrast checker → · Palette generator →

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