#2F587F#2F587F

#2F587F is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.9% C 0.079 H 248.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2F587F
RGBrgb(47, 88, 127)
HSLhsl(209, 46%, 34%)
HSVhsv(209, 63%, 50%)
CMYKcmyk(63%, 30.7%, 0%, 50.2%)
CIE-LABlab(36.21, -1.50, -26.25)
CIE-LCHlch(36.21, 26.29, 266.72°)
OKLaboklab(44.89% -0.0285 -0.074)
OKLCHoklch(44.89% 0.079 248.9)
XYZxyz(8.4914, 9.1153, 21.3865)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F587F #7F562F
analogous
#2F7F7E #2F587F #2F307F
triadic
#2F587F #7F2F58 #587F2F
tetradic
#2F587F #7E2F7F #7F562F #307F2F
square
#2F587F #7E2F7F #7F562F #307F2F
split-complementary
#2F587F #7F2F30 #7F7E2F
monochromatic
#0E1A26 #1E3952 #2F587F #4077AC #6395C5

Accessibility & contrast

On white

7.44
#2F587F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2F587F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F587F
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F587F#FFFFFF#000000##FFFFFF
##2F587F1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475981
Deuteranopia (green-blind)
#3D527E
Tritanopia (blue-blind)
#006166
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f587f;
/* rgb */ color: rgb(47, 88, 127);
/* oklch */ color: oklch(44.9% 0.079 248.9);
Tailwind
colors: {
  custom: {
    50: '#6f86a4',
    500: '#2f587f',
    950: '#000000',
  },
}
SCSS
$custom: #2f587f;
$custom-light: #6f86a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f587f",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 209.25,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44894,
    "c": 0.07929,
    "h": 248.9
  },
  "luminance": 0.09116
}

Semantic roles & 50–950 ramp

primary
#2F587F
secondary
#AC845E
accent
#9252D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F587F

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

Preview Lab → · Contrast checker → · Palette generator →

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