#2F5671#2F5671

#2F5671 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.6% C 0.063 H 240.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2F5671
RGBrgb(47, 86, 113)
HSLhsl(205, 41%, 31%)
HSVhsv(205, 58%, 44%)
CMYKcmyk(58.4%, 23.9%, 0%, 55.7%)
CIE-LABlab(34.91, -5.16, -19.62)
CIE-LCHlch(34.91, 20.29, 255.27°)
OKLaboklab(43.65% -0.031 -0.0549)
OKLCHoklch(43.65% 0.063 240.5)
XYZxyz(7.4796, 8.4515, 16.8567)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5671 #714A2F
analogous
#2F716B #2F5671 #2F3571
triadic
#2F5671 #712F56 #56712F
tetradic
#2F5671 #6B2F71 #714A2F #35712F
square
#2F5671 #6B2F71 #714A2F #35712F
split-complementary
#2F5671 #712F35 #716B2F
monochromatic
#0B141B #1D3546 #2F5671 #41779C #5E96BC

Accessibility & contrast

On white

7.81
#2F5671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2F5671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5671
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5671#FFFFFF#000000##FFFFFF
##2F56711.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5672
Deuteranopia (green-blind)
#414F71
Tritanopia (blue-blind)
#005D5F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5671;
/* rgb */ color: rgb(47, 86, 113);
/* oklch */ color: oklch(43.6% 0.063 240.5);
Tailwind
colors: {
  custom: {
    50: '#6d859a',
    500: '#2f5671',
    950: '#000000',
  },
}
SCSS
$custom: #2f5671;
$custom-light: #6d859a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5671",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 113
  },
  "hsl": {
    "h": 204.545,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4365,
    "c": 0.06302,
    "h": 240.5
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

primary
#2F5671
secondary
#A2775A
accent
#8957D1
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2F5671

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

Preview Lab → · Contrast checker → · Palette generator →

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