#2F88B2#2F88B2

#2F88B2 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.3% C 0.104 H 233.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2F88B2
RGBrgb(47, 136, 178)
HSLhsl(199, 58%, 44%)
HSVhsv(199, 74%, 70%)
CMYKcmyk(73.6%, 23.6%, 0%, 30.2%)
CIE-LABlab(53.41, -12.01, -29.63)
CIE-LCHlch(53.41, 31.97, 247.94°)
OKLaboklab(59.31% -0.0625 -0.0833)
OKLCHoklch(59.31% 0.104 233.1)
XYZxyz(18.0091, 21.4249, 45.2971)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F88B2 #B2592F
analogous
#2FB29B #2F88B2 #2F46B2
triadic
#2F88B2 #B22F88 #88B22F
tetradic
#2F88B2 #9B2FB2 #B2592F #46B22F
square
#2F88B2 #9B2FB2 #B2592F #46B22F
split-complementary
#2F88B2 #B22F46 #B29B2F
monochromatic
#153E51 #226382 #2F88B2 #4EA6D0 #7EBFDD

Accessibility & contrast

On white

3.97
#2F88B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#2F88B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F88B2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F88B2#FFFFFF#000000##000000
##2F88B21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7387B4
Deuteranopia (green-blind)
#627AB1
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f88b2;
/* rgb */ color: rgb(47, 136, 178);
/* oklch */ color: oklch(59.3% 0.104 233.1);
Tailwind
colors: {
  custom: {
    50: '#79aac9',
    500: '#2f88b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f88b2;
$custom-light: #79aac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f88b2",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 178
  },
  "hsl": {
    "h": 199.237,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.59307,
    "c": 0.10415,
    "h": 233.1
  },
  "luminance": 0.21427
}

Semantic roles & 50–950 ramp

primary
#2F88B2
secondary
#C69077
accent
#7846E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F88B2

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

Preview Lab → · Contrast checker → · Palette generator →

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