#2F587E#2F587E

#2F587E is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.8% C 0.078 H 248.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2F587E
RGBrgb(47, 88, 126)
HSLhsl(209, 46%, 34%)
HSVhsv(209, 63%, 49%)
CMYKcmyk(62.7%, 30.2%, 0%, 50.6%)
CIE-LABlab(36.16, -1.86, -25.71)
CIE-LCHlch(36.16, 25.78, 265.86°)
OKLaboklab(44.84% -0.0289 -0.0724)
OKLCHoklch(44.84% 0.078 248.3)
XYZxyz(8.4265, 9.0894, 21.0450)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F587E #7E552F
analogous
#2F7E7D #2F587E #2F317E
triadic
#2F587E #7E2F58 #587E2F
tetradic
#2F587E #7D2F7E #7E552F #317E2F
square
#2F587E #7D2F7E #7E552F #317E2F
split-complementary
#2F587E #7E2F31 #7E7D2F
monochromatic
#0E1A25 #1E3951 #2F587E #4077AB #6396C5

Accessibility & contrast

On white

7.45
#2F587E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F587E
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F587E#FFFFFF#000000##FFFFFF
##2F587E1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485980
Deuteranopia (green-blind)
#3D527D
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f587e;
/* rgb */ color: rgb(47, 88, 126);
/* oklch */ color: oklch(44.8% 0.078 248.3);
Tailwind
colors: {
  custom: {
    50: '#6f87a3',
    500: '#2f587e',
    950: '#000000',
  },
}
SCSS
$custom: #2f587e;
$custom-light: #6f87a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f587e",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 126
  },
  "hsl": {
    "h": 208.861,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44839,
    "c": 0.07796,
    "h": 248.3
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#2F587E
secondary
#AC835D
accent
#9152D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F587E

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

Preview Lab → · Contrast checker → · Palette generator →

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