#2F588B#2F588B

#2F588B is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.6% C 0.096 H 254.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2F588B
RGBrgb(47, 88, 139)
HSLhsl(213, 49%, 36%)
HSVhsv(213, 66%, 55%)
CMYKcmyk(66.2%, 36.7%, 0%, 45.5%)
CIE-LABlab(36.83, 2.85, -32.60)
CIE-LCHlch(36.83, 32.72, 275.00°)
OKLaboklab(45.59% -0.0249 -0.0925)
OKLCHoklch(45.59% 0.096 254.9)
XYZxyz(9.3205, 9.4470, 25.7533)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F588B #8B622F
analogous
#2F868B #2F588B #342F8B
triadic
#2F588B #8B2F58 #588B2F
tetradic
#2F588B #8B2F86 #8B622F #2F8B34
square
#2F588B #8B2F86 #8B622F #2F8B34
split-complementary
#2F588B #8B342F #868B2F
monochromatic
#101E30 #203B5D #2F588B #3E75B9 #6895CC

Accessibility & contrast

On white

7.27
#2F588B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2F588B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F588B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F588B#FFFFFF#000000##FFFFFF
##2F588B1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8D
Deuteranopia (green-blind)
#35538A
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f588b;
/* rgb */ color: rgb(47, 88, 139);
/* oklch */ color: oklch(45.6% 0.096 254.9);
Tailwind
colors: {
  custom: {
    50: '#7186ad',
    500: '#2f588b',
    950: '#000000',
  },
}
SCSS
$custom: #2f588b;
$custom-light: #7186ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2f588b",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 139
  },
  "hsl": {
    "h": 213.261,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4559,
    "c": 0.09578,
    "h": 254.9
  },
  "luminance": 0.09448
}

Semantic roles & 50–950 ramp

primary
#2F588B
secondary
#B38F63
accent
#9B4FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F588B

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

Preview Lab → · Contrast checker → · Palette generator →

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