#2F557F#2F557F

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

Color values

HEX#2F557F
RGBrgb(47, 85, 127)
HSLhsl(212, 46%, 34%)
HSVhsv(212, 63%, 50%)
CMYKcmyk(63%, 33.1%, 0%, 50.2%)
CIE-LABlab(35.27, 0.40, -27.72)
CIE-LCHlch(35.27, 27.72, 270.83°)
OKLaboklab(44.16% -0.025 -0.0783)
OKLCHoklch(44.16% 0.082 252.3)
XYZxyz(8.2502, 8.6329, 21.3061)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F557F #7F592F
analogous
#2F7D7F #2F557F #312F7F
triadic
#2F557F #7F2F55 #557F2F
tetradic
#2F557F #7F2F7D #7F592F #2F7F31
square
#2F557F #7F2F7D #7F592F #2F7F31
split-complementary
#2F557F #7F312F #7D7F2F
monochromatic
#0E1926 #1E3752 #2F557F #4073AC #6392C5

Accessibility & contrast

On white

7.70
#2F557F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2F557F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F557F
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F557F#FFFFFF#000000##FFFFFF
##2F557F1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435781
Deuteranopia (green-blind)
#394F7E
Tritanopia (blue-blind)
#005F64
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f557f;
/* rgb */ color: rgb(47, 85, 127);
/* oklch */ color: oklch(44.2% 0.082 252.3);
Tailwind
colors: {
  custom: {
    50: '#6f84a4',
    500: '#2f557f',
    950: '#000000',
  },
}
SCSS
$custom: #2f557f;
$custom-light: #6f84a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f557f",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 127
  },
  "hsl": {
    "h": 211.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44158,
    "c": 0.08218,
    "h": 252.3
  },
  "luminance": 0.08634
}

Semantic roles & 50–950 ramp

primary
#2F557F
secondary
#AC875E
accent
#9752D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2F557F

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

Preview Lab → · Contrast checker → · Palette generator →

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