#2F537D#2F537D

#2F537D is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.6% C 0.081 H 253.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2F537D
RGBrgb(47, 83, 125)
HSLhsl(212, 45%, 34%)
HSVhsv(212, 62%, 49%)
CMYKcmyk(62.4%, 33.6%, 0%, 51%)
CIE-LABlab(34.54, 0.96, -27.63)
CIE-LCHlch(34.54, 27.65, 272.00°)
OKLaboklab(43.56% -0.0233 -0.078)
OKLCHoklch(43.56% 0.081 253.4)
XYZxyz(7.9659, 8.2708, 20.5747)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F537D #7D592F
analogous
#2F7A7D #2F537D #322F7D
triadic
#2F537D #7D2F53 #537D2F
tetradic
#2F537D #7D2F7A #7D592F #2F7D32
square
#2F537D #7D2F7A #7D592F #2F7D32
split-complementary
#2F537D #7D322F #7A7D2F
monochromatic
#0E1824 #1E3551 #2F537D #4071A9 #628FC4

Accessibility & contrast

On white

7.91
#2F537D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2F537D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F537D
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F537D#FFFFFF#000000##FFFFFF
##2F537D1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557F
Deuteranopia (green-blind)
#374E7C
Tritanopia (blue-blind)
#005D62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f537d;
/* rgb */ color: rgb(47, 83, 125);
/* oklch */ color: oklch(43.6% 0.081 253.4);
Tailwind
colors: {
  custom: {
    50: '#6f83a3',
    500: '#2f537d',
    950: '#000000',
  },
}
SCSS
$custom: #2f537d;
$custom-light: #6f83a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f537d",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 125
  },
  "hsl": {
    "h": 212.308,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43555,
    "c": 0.08143,
    "h": 253.4
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

primary
#2F537D
secondary
#AB875D
accent
#9953D5
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2F537D

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

Preview Lab → · Contrast checker → · Palette generator →

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