#2F88B9#2F88B9

#2F88B9 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.7% C 0.111 H 237.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2F88B9
RGBrgb(47, 136, 185)
HSLhsl(201, 59%, 45%)
HSVhsv(201, 75%, 73%)
CMYKcmyk(74.6%, 26.5%, 0%, 27.5%)
CIE-LABlab(53.72, -9.56, -33.15)
CIE-LCHlch(53.72, 34.50, 253.91°)
OKLaboklab(59.66% -0.06 -0.0935)
OKLCHoklch(59.66% 0.111 237.3)
XYZxyz(18.7299, 21.7133, 49.0935)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F88B9 #B9602F
analogous
#2FB9A5 #2F88B9 #2F43B9
triadic
#2F88B9 #B92F88 #88B92F
tetradic
#2F88B9 #A52FB9 #B9602F #43B92F
square
#2F88B9 #A52FB9 #B9602F #43B92F
split-complementary
#2F88B9 #B92F43 #B9A52F
monochromatic
#164057 #236488 #2F88B9 #52A5D3 #83BFDF

Accessibility & contrast

On white

3.93
#2F88B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#2F88B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F88B9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F88B9#FFFFFF#000000##000000
##2F88B91.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7188BB
Deuteranopia (green-blind)
#5E7BB8
Tritanopia (blue-blind)
#009599
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f88b9;
/* rgb */ color: rgb(47, 136, 185);
/* oklch */ color: oklch(59.7% 0.111 237.3);
Tailwind
colors: {
  custom: {
    50: '#7baace',
    500: '#2f88b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f88b9;
$custom-light: #7baace;
$custom-dark: #000000;
JSON
{
  "hex": "#2f88b9",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 185
  },
  "hsl": {
    "h": 201.304,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.59655,
    "c": 0.11114,
    "h": 237.3
  },
  "luminance": 0.21715
}

Semantic roles & 50–950 ramp

primary
#2F88B9
secondary
#C9977B
accent
#7D45E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F88B9

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

Preview Lab → · Contrast checker → · Palette generator →

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