#2F5A76#2F5A76

#2F5A76 is a dark, moderate cyan. Relative luminance 0.092; OKLCH L 44.9% C 0.066 H 239.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2F5A76
RGBrgb(47, 90, 118)
HSLhsl(204, 43%, 32%)
HSVhsv(204, 60%, 46%)
CMYKcmyk(60.2%, 23.7%, 0%, 53.7%)
CIE-LABlab(36.41, -5.91, -20.39)
CIE-LCHlch(36.41, 21.23, 253.84°)
OKLaboklab(44.92% -0.0341 -0.057)
OKLCHoklch(44.92% 0.066 239.1)
XYZxyz(8.0973, 9.2239, 18.4897)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5A76 #764B2F
analogous
#2F766F #2F5A76 #2F3776
triadic
#2F5A76 #762F5A #5A762F
tetradic
#2F5A76 #6F2F76 #764B2F #37762F
square
#2F5A76 #6F2F76 #764B2F #37762F
split-complementary
#2F5A76 #762F37 #766F2F
monochromatic
#0C171E #1E394A #2F5A76 #407BA2 #609AC0

Accessibility & contrast

On white

7.38
#2F5A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2F5A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5A76
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5A76#FFFFFF#000000##FFFFFF
##2F5A761.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5A77
Deuteranopia (green-blind)
#445276
Tritanopia (blue-blind)
#006163
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5a76;
/* rgb */ color: rgb(47, 90, 118);
/* oklch */ color: oklch(44.9% 0.066 239.1);
Tailwind
colors: {
  custom: {
    50: '#6e889d',
    500: '#2f5a76',
    950: '#000000',
  },
}
SCSS
$custom: #2f5a76;
$custom-light: #6e889d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5a76",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 118
  },
  "hsl": {
    "h": 203.662,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44917,
    "c": 0.06645,
    "h": 239.1
  },
  "luminance": 0.09225
}

Semantic roles & 50–950 ramp

primary
#2F5A76
secondary
#A7785A
accent
#8755D3
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #2F5A76

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

Preview Lab → · Contrast checker → · Palette generator →

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