#2F88AA#2F88AA

#2F88AA is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 58.9% C 0.097 H 227.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2F88AA
RGBrgb(47, 136, 170)
HSLhsl(197, 57%, 43%)
HSVhsv(197, 72%, 67%)
CMYKcmyk(72.4%, 20%, 0%, 33.3%)
CIE-LABlab(53.07, -14.75, -25.55)
CIE-LCHlch(53.07, 29.51, 240.00°)
OKLaboklab(58.93% -0.0654 -0.0716)
OKLCHoklch(58.93% 0.097 227.6)
XYZxyz(17.2292, 21.1130, 41.1896)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F88AA #AA512F
analogous
#2FAA8E #2F88AA #2F4BAA
triadic
#2F88AA #AA2F88 #88AA2F
tetradic
#2F88AA #8E2FAA #AA512F #4BAA2F
square
#2F88AA #8E2FAA #AA512F #4BAA2F
split-complementary
#2F88AA #AA2F4B #AA8E2F
monochromatic
#143B4A #22627A #2F88AA #49A8CD #79BFDA

Accessibility & contrast

On white

4.02
#2F88AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#2F88AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F88AA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F88AA#FFFFFF#000000##000000
##2F88AA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7686AC
Deuteranopia (green-blind)
#6579AA
Tritanopia (blue-blind)
#009293
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2f88aa;
/* rgb */ color: rgb(47, 136, 170);
/* oklch */ color: oklch(58.9% 0.097 227.6);
Tailwind
colors: {
  custom: {
    50: '#78aac3',
    500: '#2f88aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f88aa;
$custom-light: #78aac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f88aa",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 170
  },
  "hsl": {
    "h": 196.585,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.58925,
    "c": 0.097,
    "h": 227.6
  },
  "luminance": 0.21115
}

Semantic roles & 50–950 ramp

primary
#2F88AA
secondary
#C28972
accent
#7248E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F88AA

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

Preview Lab → · Contrast checker → · Palette generator →

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