#2F537F#2F537F

#2F537F is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.7% C 0.084 H 254.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#2F537F
RGBrgb(47, 83, 127)
HSLhsl(213, 46%, 34%)
HSVhsv(213, 63%, 50%)
CMYKcmyk(63%, 34.6%, 0%, 50.2%)
CIE-LABlab(34.65, 1.69, -28.70)
CIE-LCHlch(34.65, 28.75, 273.36°)
OKLaboklab(43.67% -0.0227 -0.0811)
OKLCHoklch(43.67% 0.084 254.4)
XYZxyz(8.0949, 8.3224, 21.2544)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F537F #7F5B2F
analogous
#2F7B7F #2F537F #332F7F
triadic
#2F537F #7F2F53 #537F2F
tetradic
#2F537F #7F2F7B #7F5B2F #2F7F33
square
#2F537F #7F2F7B #7F5B2F #2F7F33
split-complementary
#2F537F #7F332F #7B7F2F
monochromatic
#0E1926 #1E3652 #2F537F #4070AC #638FC5

Accessibility & contrast

On white

7.88
#2F537F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2F537F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F537F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F537F#FFFFFF#000000##FFFFFF
##2F537F1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405681
Deuteranopia (green-blind)
#364E7E
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f537f;
/* rgb */ color: rgb(47, 83, 127);
/* oklch */ color: oklch(43.7% 0.084 254.4);
Tailwind
colors: {
  custom: {
    50: '#6f83a4',
    500: '#2f537f',
    950: '#000000',
  },
}
SCSS
$custom: #2f537f;
$custom-light: #6f83a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f537f",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 127
  },
  "hsl": {
    "h": 213,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43671,
    "c": 0.08426,
    "h": 254.4
  },
  "luminance": 0.08323
}

Semantic roles & 50–950 ramp

primary
#2F537F
secondary
#AC895E
accent
#9A52D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2F537F

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

Preview Lab → · Contrast checker → · Palette generator →

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