#2F4E62#2F4E62

#2F4E62 is a dark, muted cyan. Relative luminance 0.069; OKLCH L 40.9% C 0.050 H 238.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2F4E62
RGBrgb(47, 78, 98)
HSLhsl(204, 35%, 28%)
HSVhsv(204, 52%, 38%)
CMYKcmyk(52%, 20.4%, 0%, 61.6%)
CIE-LABlab(31.66, -5.23, -15.22)
CIE-LCHlch(31.66, 16.09, 251.04°)
OKLaboklab(40.86% -0.0264 -0.0423)
OKLCHoklch(40.86% 0.05 238)
XYZxyz(6.1005, 6.9345, 12.5699)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E62 #62432F
analogous
#2F625C #2F4E62 #2F3462
triadic
#2F4E62 #622F4E #4E622F
tetradic
#2F4E62 #5C2F62 #62432F #34622F
square
#2F4E62 #5C2F62 #62432F #34622F
split-complementary
#2F4E62 #622F34 #625C2F
monochromatic
#0A1015 #1B2D39 #2F4E62 #436F8B #5B8FB0

Accessibility & contrast

On white

8.80
#2F4E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2F4E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E62
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E62#FFFFFF#000000##FFFFFF
##2F4E621.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454E63
Deuteranopia (green-blind)
#3E4862
Tritanopia (blue-blind)
#165355
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f4e62;
/* rgb */ color: rgb(47, 78, 98);
/* oklch */ color: oklch(40.9% 0.050 238.0);
Tailwind
colors: {
  custom: {
    50: '#6b7f8e',
    500: '#2f4e62',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e62;
$custom-light: #6b7f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e62",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 98
  },
  "hsl": {
    "h": 203.529,
    "s": 35.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40859,
    "c": 0.04986,
    "h": 238
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#2F4E62
secondary
#947059
accent
#885DCB
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #2F4E62

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

Preview Lab → · Contrast checker → · Palette generator →

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