#2F4C73#2F4C73

#2F4C73 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.3% C 0.075 H 256.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2F4C73
RGBrgb(47, 76, 115)
HSLhsl(214, 42%, 32%)
HSVhsv(214, 59%, 45%)
CMYKcmyk(59.1%, 33.9%, 0%, 54.9%)
CIE-LABlab(31.83, 1.91, -25.67)
CIE-LCHlch(31.83, 25.74, 274.26°)
OKLaboklab(41.26% -0.0178 -0.0724)
OKLCHoklch(41.26% 0.075 256.2)
XYZxyz(6.8502, 7.0105, 17.2085)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C73 #73562F
analogous
#2F6E73 #2F4C73 #342F73
triadic
#2F4C73 #732F4C #4C732F
tetradic
#2F4C73 #732F6E #73562F #2F7334
square
#2F4C73 #732F6E #73562F #2F7334
split-complementary
#2F4C73 #73342F #6E732F
monochromatic
#0B131C #1D2F48 #2F4C73 #41699E #5F87BE

Accessibility & contrast

On white

8.74
#2F4C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F4C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4C73
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C73#FFFFFF#000000##FFFFFF
##2F4C731.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E75
Deuteranopia (green-blind)
#334872
Tritanopia (blue-blind)
#00555A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f4c73;
/* rgb */ color: rgb(47, 76, 115);
/* oklch */ color: oklch(41.3% 0.075 256.2);
Tailwind
colors: {
  custom: {
    50: '#6d7d9b',
    500: '#2f4c73',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c73;
$custom-light: #6d7d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c73",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 115
  },
  "hsl": {
    "h": 214.412,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41263,
    "c": 0.07455,
    "h": 256.2
  },
  "luminance": 0.07011
}

Semantic roles & 50–950 ramp

primary
#2F4C73
secondary
#A4845A
accent
#9D56D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2F4C73

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

Preview Lab → · Contrast checker → · Palette generator →

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