#2F588F#2F588F

#2F588F is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.8% C 0.101 H 256.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2F588F
RGBrgb(47, 88, 143)
HSLhsl(214, 51%, 37%)
HSVhsv(214, 67%, 56%)
CMYKcmyk(67.1%, 38.5%, 0%, 43.9%)
CIE-LABlab(37.05, 4.33, -34.68)
CIE-LCHlch(37.05, 34.95, 277.11°)
OKLaboklab(45.83% -0.0239 -0.0985)
OKLCHoklch(45.83% 0.101 256.4)
XYZxyz(9.6181, 9.5660, 27.3208)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F588F #8F662F
analogous
#2F888F #2F588F #362F8F
triadic
#2F588F #8F2F58 #588F2F
tetradic
#2F588F #8F2F88 #8F662F #2F8F36
square
#2F588F #8F2F88 #8F662F #2F8F36
split-complementary
#2F588F #8F362F #888F2F
monochromatic
#111F33 #203C61 #2F588F #3E74BD #6A95CE

Accessibility & contrast

On white

7.21
#2F588F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F588F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F588F#FFFFFF#000000##FFFFFF
##2F588F1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C91
Deuteranopia (green-blind)
#32538E
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f588f;
/* rgb */ color: rgb(47, 88, 143);
/* oklch */ color: oklch(45.8% 0.101 256.4);
Tailwind
colors: {
  custom: {
    50: '#7286b0',
    500: '#2f588f',
    950: '#000000',
  },
}
SCSS
$custom: #2f588f;
$custom-light: #7286b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f588f",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 143
  },
  "hsl": {
    "h": 214.375,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45834,
    "c": 0.1014,
    "h": 256.4
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

primary
#2F588F
secondary
#B59365
accent
#9E4EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #2F588F

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

Preview Lab → · Contrast checker → · Palette generator →

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