#2F588C#2F588C

#2F588C is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.6% C 0.097 H 255.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2F588C
RGBrgb(47, 88, 140)
HSLhsl(214, 50%, 37%)
HSVhsv(214, 66%, 55%)
CMYKcmyk(66.4%, 37.1%, 0%, 45.1%)
CIE-LABlab(36.89, 3.22, -33.12)
CIE-LCHlch(36.89, 33.28, 275.55°)
OKLaboklab(45.65% -0.0247 -0.094)
OKLCHoklch(45.65% 0.097 255.3)
XYZxyz(9.3939, 9.4763, 26.1399)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F588C #8C632F
analogous
#2F878C #2F588C #342F8C
triadic
#2F588C #8C2F58 #588C2F
tetradic
#2F588C #8C2F87 #8C632F #2F8C34
square
#2F588C #8C2F87 #8C632F #2F8C34
split-complementary
#2F588C #8C342F #878C2F
monochromatic
#101E30 #203B5E #2F588C #3E75BA #6995CD

Accessibility & contrast

On white

7.25
#2F588C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2F588C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F588C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F588C#FFFFFF#000000##FFFFFF
##2F588C1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8E
Deuteranopia (green-blind)
#34538B
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f588c;
/* rgb */ color: rgb(47, 88, 140);
/* oklch */ color: oklch(45.6% 0.097 255.3);
Tailwind
colors: {
  custom: {
    50: '#7186ae',
    500: '#2f588c',
    950: '#000000',
  },
}
SCSS
$custom: #2f588c;
$custom-light: #7186ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f588c",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 140
  },
  "hsl": {
    "h": 213.548,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4565,
    "c": 0.09717,
    "h": 255.3
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#2F588C
secondary
#B49063
accent
#9C4FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F588C

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

Preview Lab → · Contrast checker → · Palette generator →

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