#2F88AB#2F88AB

#2F88AB is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.0% C 0.098 H 228.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2F88AB
RGBrgb(47, 136, 171)
HSLhsl(197, 57%, 43%)
HSVhsv(197, 73%, 67%)
CMYKcmyk(72.5%, 20.5%, 0%, 32.9%)
CIE-LABlab(53.11, -14.41, -26.07)
CIE-LCHlch(53.11, 29.79, 241.06°)
OKLaboklab(58.97% -0.065 -0.0731)
OKLCHoklch(58.97% 0.098 228.3)
XYZxyz(17.3242, 21.1509, 41.6897)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F88AB #AB522F
analogous
#2FAB90 #2F88AB #2F4AAB
triadic
#2F88AB #AB2F88 #88AB2F
tetradic
#2F88AB #902FAB #AB522F #4AAB2F
square
#2F88AB #902FAB #AB522F #4AAB2F
split-complementary
#2F88AB #AB2F4A #AB902F
monochromatic
#153C4B #22627B #2F88AB #4AA8CD #7ABFDA

Accessibility & contrast

On white

4.01
#2F88AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#2F88AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F88AB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F88AB#FFFFFF#000000##000000
##2F88AB1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7686AD
Deuteranopia (green-blind)
#6579AB
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2f88ab;
/* rgb */ color: rgb(47, 136, 171);
/* oklch */ color: oklch(59.0% 0.098 228.3);
Tailwind
colors: {
  custom: {
    50: '#78aac4',
    500: '#2f88ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f88ab;
$custom-light: #78aac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f88ab",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 171
  },
  "hsl": {
    "h": 196.935,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.58971,
    "c": 0.09784,
    "h": 228.3
  },
  "luminance": 0.21153
}

Semantic roles & 50–950 ramp

primary
#2F88AB
secondary
#C38A73
accent
#7348E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F88AB

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

Preview Lab → · Contrast checker → · Palette generator →

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