#2F88BF#2F88BF

#2F88BF is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 60.0% C 0.118 H 240.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2F88BF
RGBrgb(47, 136, 191)
HSLhsl(203, 61%, 47%)
HSVhsv(203, 75%, 75%)
CMYKcmyk(75.4%, 28.8%, 0%, 25.1%)
CIE-LABlab(54.00, -7.44, -36.15)
CIE-LCHlch(54.00, 36.90, 258.37°)
OKLaboklab(59.97% -0.0581 -0.1022)
OKLCHoklch(59.97% 0.118 240.4)
XYZxyz(19.3767, 21.9720, 52.4999)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F88BF #BF662F
analogous
#2FBFAE #2F88BF #2F40BF
triadic
#2F88BF #BF2F88 #88BF2F
tetradic
#2F88BF #AE2FBF #BF662F #40BF2F
square
#2F88BF #AE2FBF #BF662F #40BF2F
split-complementary
#2F88BF #BF2F40 #BFAE2F
monochromatic
#17425D #23658E #2F88BF #56A5D5 #87BFE1

Accessibility & contrast

On white

3.89
#2F88BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#2F88BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F88BF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F88BF#FFFFFF#000000##000000
##2F88BF1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E89C1
Deuteranopia (green-blind)
#5B7BBE
Tritanopia (blue-blind)
#00969B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f88bf;
/* rgb */ color: rgb(47, 136, 191);
/* oklch */ color: oklch(60.0% 0.118 240.4);
Tailwind
colors: {
  custom: {
    50: '#7caad2',
    500: '#2f88bf',
    950: '#000000',
  },
}
SCSS
$custom: #2f88bf;
$custom-light: #7caad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f88bf",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 191
  },
  "hsl": {
    "h": 202.917,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.59965,
    "c": 0.11756,
    "h": 240.4
  },
  "luminance": 0.21974
}

Semantic roles & 50–950 ramp

primary
#2F88BF
secondary
#CB9C7F
accent
#8144E4
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2F88BF

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

Preview Lab → · Contrast checker → · Palette generator →

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