#2F587D#2F587D

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

Color values

HEX#2F587D
RGBrgb(47, 88, 125)
HSLhsl(208, 45%, 34%)
HSVhsv(208, 62%, 49%)
CMYKcmyk(62.4%, 29.6%, 0%, 51%)
CIE-LABlab(36.11, -2.22, -25.17)
CIE-LCHlch(36.11, 25.27, 264.97°)
OKLaboklab(44.78% -0.0292 -0.0709)
OKLCHoklch(44.78% 0.077 247.6)
XYZxyz(8.3623, 9.0637, 20.7068)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F587D #7D542F
analogous
#2F7D7B #2F587D #2F317D
triadic
#2F587D #7D2F58 #587D2F
tetradic
#2F587D #7B2F7D #7D542F #317D2F
square
#2F587D #7B2F7D #7D542F #317D2F
split-complementary
#2F587D #7D2F31 #7D7B2F
monochromatic
#0E1924 #1E3951 #2F587D #4077A9 #6296C4

Accessibility & contrast

On white

7.47
#2F587D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2F587D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F587D
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F587D#FFFFFF#000000##FFFFFF
##2F587D1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597F
Deuteranopia (green-blind)
#3E517C
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f587d;
/* rgb */ color: rgb(47, 88, 125);
/* oklch */ color: oklch(44.8% 0.077 247.6);
Tailwind
colors: {
  custom: {
    50: '#6f87a3',
    500: '#2f587d',
    950: '#000000',
  },
}
SCSS
$custom: #2f587d;
$custom-light: #6f87a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f587d",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 125
  },
  "hsl": {
    "h": 208.462,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44784,
    "c": 0.07664,
    "h": 247.6
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#2F587D
secondary
#AB825D
accent
#9153D5
background
#F7F8FA
surface
#EDEFF3
border
#C8CACD
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F587D

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

Preview Lab → · Contrast checker → · Palette generator →

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