#2F88B3#2F88B3

#2F88B3 is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.4% C 0.105 H 233.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2F88B3
RGBrgb(47, 136, 179)
HSLhsl(200, 58%, 44%)
HSVhsv(200, 74%, 70%)
CMYKcmyk(73.7%, 24%, 0%, 29.8%)
CIE-LABlab(53.45, -11.66, -30.13)
CIE-LCHlch(53.45, 32.31, 248.85°)
OKLaboklab(59.36% -0.0621 -0.0848)
OKLCHoklch(59.36% 0.105 233.8)
XYZxyz(18.1099, 21.4652, 45.8278)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F88B3 #B35A2F
analogous
#2FB39C #2F88B3 #2F46B3
triadic
#2F88B3 #B32F88 #88B32F
tetradic
#2F88B3 #9C2FB3 #B35A2F #46B32F
square
#2F88B3 #9C2FB3 #B35A2F #46B32F
split-complementary
#2F88B3 #B32F46 #B39C2F
monochromatic
#163E52 #226383 #2F88B3 #4FA6D1 #7FBFDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F88B3#FFFFFF#000000##000000
##2F88B31.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)
#7387B5
Deuteranopia (green-blind)
#617AB2
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f88b3;
/* rgb */ color: rgb(47, 136, 179);
/* oklch */ color: oklch(59.4% 0.105 233.8);
Tailwind
colors: {
  custom: {
    50: '#7aaaca',
    500: '#2f88b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f88b3;
$custom-light: #7aaaca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f88b3",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 179
  },
  "hsl": {
    "h": 199.545,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.59356,
    "c": 0.10511,
    "h": 233.8
  },
  "luminance": 0.21467
}

Semantic roles & 50–950 ramp

primary
#2F88B3
secondary
#C69178
accent
#7946E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F88B3

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

Preview Lab → · Contrast checker → · Palette generator →

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