#2F537B#2F537B

#2F537B is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.4% C 0.079 H 252.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2F537B
RGBrgb(47, 83, 123)
HSLhsl(212, 45%, 33%)
HSVhsv(212, 62%, 48%)
CMYKcmyk(61.8%, 32.5%, 0%, 51.8%)
CIE-LABlab(34.44, 0.24, -26.55)
CIE-LCHlch(34.44, 26.56, 270.53°)
OKLaboklab(43.44% -0.0239 -0.0749)
OKLCHoklch(43.44% 0.079 252.3)
XYZxyz(7.8394, 8.2202, 19.9086)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F537B #7B572F
analogous
#2F797B #2F537B #312F7B
triadic
#2F537B #7B2F53 #537B2F
tetradic
#2F537B #7B2F79 #7B572F #2F7B31
square
#2F537B #7B2F79 #7B572F #2F7B31
split-complementary
#2F537B #7B312F #797B2F
monochromatic
#0D1722 #1E354F #2F537B #4071A7 #6290C3

Accessibility & contrast

On white

7.94
#2F537B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2F537B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F537B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F537B#FFFFFF#000000##FFFFFF
##2F537B1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557D
Deuteranopia (green-blind)
#384E7A
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f537b;
/* rgb */ color: rgb(47, 83, 123);
/* oklch */ color: oklch(43.4% 0.079 252.3);
Tailwind
colors: {
  custom: {
    50: '#6f83a1',
    500: '#2f537b',
    950: '#000000',
  },
}
SCSS
$custom: #2f537b;
$custom-light: #6f83a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f537b",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 123
  },
  "hsl": {
    "h": 211.579,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4344,
    "c": 0.07862,
    "h": 252.3
  },
  "luminance": 0.08221
}

Semantic roles & 50–950 ramp

primary
#2F537B
secondary
#AA855C
accent
#9753D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0F
muted
#7B7C7E

Preview Lab

Preview with #2F537B

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

Preview Lab → · Contrast checker → · Palette generator →

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