#2F475F#2F475F

#2F475F is a dark, muted cyan. Relative luminance 0.059; OKLCH L 38.9% C 0.051 H 249.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2F475F
RGBrgb(47, 71, 95)
HSLhsl(210, 34%, 28%)
HSVhsv(210, 51%, 37%)
CMYKcmyk(50.5%, 25.3%, 0%, 62.7%)
CIE-LABlab(29.25, -1.77, -17.01)
CIE-LCHlch(29.25, 17.10, 264.06°)
OKLaboklab(38.92% -0.018 -0.0474)
OKLCHoklch(38.92% 0.051 249.2)
XYZxyz(5.4904, 5.9367, 11.6808)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F475F #5F472F
analogous
#2F5F5F #2F475F #2F2F5F
triadic
#2F475F #5F2F47 #475F2F
tetradic
#2F475F #5F2F5F #5F472F #2F5F2F
square
#2F475F #5F2F5F #5F472F #2F5F2F
split-complementary
#2F475F #5F2F2F #5F5F2F
monochromatic
#0A0F14 #1B2836 #2F475F #436688 #5B84AE

Accessibility & contrast

On white

9.60
#2F475F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2F475F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F475F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F475F#FFFFFF#000000##FFFFFF
##2F475F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4860
Deuteranopia (green-blind)
#37435F
Tritanopia (blue-blind)
#1A4D4F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f475f;
/* rgb */ color: rgb(47, 71, 95);
/* oklch */ color: oklch(38.9% 0.051 249.2);
Tailwind
colors: {
  custom: {
    50: '#6a7a8c',
    500: '#2f475f',
    950: '#000000',
  },
}
SCSS
$custom: #2f475f;
$custom-light: #6a7a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f475f",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 95
  },
  "hsl": {
    "h": 210,
    "s": 33.803,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38916,
    "c": 0.05071,
    "h": 249.2
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#2F475F
secondary
#917559
accent
#945ECA
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07090C
muted
#7A7B7D

Preview Lab

Preview with #2F475F

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

Preview Lab → · Contrast checker → · Palette generator →

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