#2F588E#2F588E

#2F588E is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.8% C 0.100 H 256.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2F588E
RGBrgb(47, 88, 142)
HSLhsl(214, 50%, 37%)
HSVhsv(214, 67%, 56%)
CMYKcmyk(66.9%, 38%, 0%, 44.3%)
CIE-LABlab(37.00, 3.96, -34.16)
CIE-LCHlch(37.00, 34.39, 276.61°)
OKLaboklab(45.77% -0.0241 -0.097)
OKLCHoklch(45.77% 0.1 256)
XYZxyz(9.5427, 9.5358, 26.9236)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F588E #8E652F
analogous
#2F888E #2F588E #352F8E
triadic
#2F588E #8E2F58 #588E2F
tetradic
#2F588E #8E2F88 #8E652F #2F8E35
square
#2F588E #8E2F88 #8E652F #2F8E35
split-complementary
#2F588E #8E352F #888E2F
monochromatic
#111F32 #203C60 #2F588E #3E74BC #6A95CE

Accessibility & contrast

On white

7.22
#2F588E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2F588E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F588E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F588E#FFFFFF#000000##FFFFFF
##2F588E1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C90
Deuteranopia (green-blind)
#33538D
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f588e;
/* rgb */ color: rgb(47, 88, 142);
/* oklch */ color: oklch(45.8% 0.100 256.0);
Tailwind
colors: {
  custom: {
    50: '#7286af',
    500: '#2f588e',
    950: '#000000',
  },
}
SCSS
$custom: #2f588e;
$custom-light: #7286af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f588e",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 142
  },
  "hsl": {
    "h": 214.105,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45773,
    "c": 0.09999,
    "h": 256
  },
  "luminance": 0.09537
}

Semantic roles & 50–950 ramp

primary
#2F588E
secondary
#B59264
accent
#9D4EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F588E

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

Preview Lab → · Contrast checker → · Palette generator →

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