#2F587C#2F587C

#2F587C is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.7% C 0.075 H 246.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2F587C
RGBrgb(47, 88, 124)
HSLhsl(208, 45%, 34%)
HSVhsv(208, 62%, 49%)
CMYKcmyk(62.1%, 29%, 0%, 51.4%)
CIE-LABlab(36.06, -2.57, -24.64)
CIE-LCHlch(36.06, 24.77, 264.04°)
OKLaboklab(44.73% -0.0295 -0.0693)
OKLCHoklch(44.73% 0.075 246.9)
XYZxyz(8.2988, 9.0383, 20.3721)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F587C #7C532F
analogous
#2F7C79 #2F587C #2F317C
triadic
#2F587C #7C2F58 #587C2F
tetradic
#2F587C #792F7C #7C532F #317C2F
square
#2F587C #792F7C #7C532F #317C2F
split-complementary
#2F587C #7C2F31 #7C792F
monochromatic
#0D1923 #1E3950 #2F587C #4077A8 #6296C3

Accessibility & contrast

On white

7.48
#2F587C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F587C
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F587C#FFFFFF#000000##FFFFFF
##2F587C1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597E
Deuteranopia (green-blind)
#3E517B
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f587c;
/* rgb */ color: rgb(47, 88, 124);
/* oklch */ color: oklch(44.7% 0.075 246.9);
Tailwind
colors: {
  custom: {
    50: '#6f87a2',
    500: '#2f587c',
    950: '#000000',
  },
}
SCSS
$custom: #2f587c;
$custom-light: #6f87a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f587c",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 124
  },
  "hsl": {
    "h": 208.052,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4473,
    "c": 0.07533,
    "h": 246.9
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#2F587C
secondary
#AA815C
accent
#9053D5
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0F
muted
#7B7C7E

Preview Lab

Preview with #2F587C

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

Preview Lab → · Contrast checker → · Palette generator →

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