#2F88B1#2F88B1

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

Color values

HEX#2F88B1
RGBrgb(47, 136, 177)
HSLhsl(199, 58%, 44%)
HSVhsv(199, 73%, 69%)
CMYKcmyk(73.4%, 23.2%, 0%, 30.6%)
CIE-LABlab(53.37, -12.35, -29.12)
CIE-LCHlch(53.37, 31.63, 247.01°)
OKLaboklab(59.26% -0.0628 -0.0819)
OKLCHoklch(59.26% 0.103 232.5)
XYZxyz(17.9091, 21.3849, 44.7703)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F88B1 #B1582F
analogous
#2FB199 #2F88B1 #2F47B1
triadic
#2F88B1 #B12F88 #88B12F
tetradic
#2F88B1 #992FB1 #B1582F #47B12F
square
#2F88B1 #992FB1 #B1582F #47B12F
split-complementary
#2F88B1 #B12F47 #B1992F
monochromatic
#153E50 #226381 #2F88B1 #4DA7D0 #7EBFDD

Accessibility & contrast

On white

3.98
#2F88B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#2F88B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F88B1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F88B1#FFFFFF#000000##000000
##2F88B11.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B3
Deuteranopia (green-blind)
#627AB0
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2f88b1;
/* rgb */ color: rgb(47, 136, 177);
/* oklch */ color: oklch(59.3% 0.103 232.5);
Tailwind
colors: {
  custom: {
    50: '#79aac8',
    500: '#2f88b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f88b1;
$custom-light: #79aac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f88b1",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 177
  },
  "hsl": {
    "h": 198.923,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.59258,
    "c": 0.10321,
    "h": 232.5
  },
  "luminance": 0.21387
}

Semantic roles & 50–950 ramp

primary
#2F88B1
secondary
#C58F76
accent
#7747E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F88B1

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

Preview Lab → · Contrast checker → · Palette generator →

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