#2F587B#2F587B

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

Color values

HEX#2F587B
RGBrgb(47, 88, 123)
HSLhsl(208, 45%, 33%)
HSVhsv(208, 62%, 48%)
CMYKcmyk(61.8%, 28.5%, 0%, 51.8%)
CIE-LABlab(36.01, -2.92, -24.09)
CIE-LCHlch(36.01, 24.27, 263.08°)
OKLaboklab(44.68% -0.0299 -0.0677)
OKLCHoklch(44.68% 0.074 246.2)
XYZxyz(8.2359, 9.0131, 20.0407)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F587B #7B522F
analogous
#2F7B78 #2F587B #2F327B
triadic
#2F587B #7B2F58 #587B2F
tetradic
#2F587B #782F7B #7B522F #327B2F
square
#2F587B #782F7B #7B522F #327B2F
split-complementary
#2F587B #7B2F32 #7B782F
monochromatic
#0D1922 #1E384F #2F587B #4078A7 #6296C3

Accessibility & contrast

On white

7.49
#2F587B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2F587B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F587B
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F587B#FFFFFF#000000##FFFFFF
##2F587B1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597D
Deuteranopia (green-blind)
#3F517A
Tritanopia (blue-blind)
#006064
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f587b;
/* rgb */ color: rgb(47, 88, 123);
/* oklch */ color: oklch(44.7% 0.074 246.2);
Tailwind
colors: {
  custom: {
    50: '#6f87a1',
    500: '#2f587b',
    950: '#000000',
  },
}
SCSS
$custom: #2f587b;
$custom-light: #6f87a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f587b",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 123
  },
  "hsl": {
    "h": 207.632,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44676,
    "c": 0.07403,
    "h": 246.2
  },
  "luminance": 0.09014
}

Semantic roles & 50–950 ramp

primary
#2F587B
secondary
#AA805C
accent
#8F53D4
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0F
muted
#7B7C7E

Preview Lab

Preview with #2F587B

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

Preview Lab → · Contrast checker → · Palette generator →

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