#2F88AF#2F88AF

#2F88AF is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.2% C 0.101 H 231.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2F88AF
RGBrgb(47, 136, 175)
HSLhsl(198, 58%, 44%)
HSVhsv(198, 73%, 69%)
CMYKcmyk(73.1%, 22.3%, 0%, 31.4%)
CIE-LABlab(53.28, -13.04, -28.11)
CIE-LCHlch(53.28, 30.98, 245.10°)
OKLaboklab(59.16% -0.0635 -0.079)
OKLCHoklch(59.16% 0.101 231.2)
XYZxyz(17.7112, 21.3058, 43.7281)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F88AF #AF562F
analogous
#2FAF96 #2F88AF #2F48AF
triadic
#2F88AF #AF2F88 #88AF2F
tetradic
#2F88AF #962FAF #AF562F #48AF2F
square
#2F88AF #962FAF #AF562F #48AF2F
split-complementary
#2F88AF #AF2F48 #AF962F
monochromatic
#153D4F #22637F #2F88AF #4CA7CF #7CBFDC

Accessibility & contrast

On white

3.99
#2F88AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#2F88AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F88AF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F88AF#FFFFFF#000000##000000
##2F88AF1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7486B1
Deuteranopia (green-blind)
#637AAE
Tritanopia (blue-blind)
#009395
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2f88af;
/* rgb */ color: rgb(47, 136, 175);
/* oklch */ color: oklch(59.2% 0.101 231.2);
Tailwind
colors: {
  custom: {
    50: '#79aac7',
    500: '#2f88af',
    950: '#000000',
  },
}
SCSS
$custom: #2f88af;
$custom-light: #79aac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f88af",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 175
  },
  "hsl": {
    "h": 198.281,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.59161,
    "c": 0.10136,
    "h": 231.2
  },
  "luminance": 0.21308
}

Semantic roles & 50–950 ramp

primary
#2F88AF
secondary
#C48D75
accent
#7647E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F88AF

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

Preview Lab → · Contrast checker → · Palette generator →

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