#2F88BC#2F88BC

#2F88BC is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.8% C 0.114 H 238.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2F88BC
RGBrgb(47, 136, 188)
HSLhsl(202, 60%, 46%)
HSVhsv(202, 75%, 74%)
CMYKcmyk(75%, 27.7%, 0%, 26.3%)
CIE-LABlab(53.86, -8.50, -34.65)
CIE-LCHlch(53.86, 35.68, 256.21°)
OKLaboklab(59.81% -0.059 -0.0979)
OKLCHoklch(59.81% 0.114 238.9)
XYZxyz(19.0500, 21.8413, 50.7790)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F88BC #BC632F
analogous
#2FBCA9 #2F88BC #2F41BC
triadic
#2F88BC #BC2F88 #88BC2F
tetradic
#2F88BC #A92FBC #BC632F #41BC2F
square
#2F88BC #A92FBC #BC632F #41BC2F
split-complementary
#2F88BC #BC2F41 #BCA92F
monochromatic
#17415A #23658B #2F88BC #54A5D4 #85BFE0

Accessibility & contrast

On white

3.91
#2F88BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#2F88BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F88BC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F88BC#FFFFFF#000000##000000
##2F88BC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88BE
Deuteranopia (green-blind)
#5C7BBB
Tritanopia (blue-blind)
#00959A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f88bc;
/* rgb */ color: rgb(47, 136, 188);
/* oklch */ color: oklch(59.8% 0.114 238.9);
Tailwind
colors: {
  custom: {
    50: '#7baad0',
    500: '#2f88bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f88bc;
$custom-light: #7baad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f88bc",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 188
  },
  "hsl": {
    "h": 202.128,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.59809,
    "c": 0.11431,
    "h": 238.9
  },
  "luminance": 0.21843
}

Semantic roles & 50–950 ramp

primary
#2F88BC
secondary
#CA997D
accent
#7F45E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2F88BC

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

Preview Lab → · Contrast checker → · Palette generator →

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