#2F88E2#2F88E2

#2F88E2 is a mid, vivid cyan. Relative luminance 0.237; OKLCH L 62.0% C 0.159 H 252.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2F88E2
RGBrgb(47, 136, 226)
HSLhsl(210, 76%, 54%)
HSVhsv(210, 79%, 89%)
CMYKcmyk(79.2%, 39.8%, 0%, 11.4%)
CIE-LABlab(55.79, 5.27, -53.06)
CIE-LCHlch(55.79, 53.33, 275.68°)
OKLaboklab(61.96% -0.0485 -0.1517)
OKLCHoklch(61.96% 0.159 252.3)
XYZxyz(23.6987, 23.7008, 75.2624)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F88E2 #E2892F
analogous
#2FE1E2 #2F88E2 #2F2FE2
triadic
#2F88E2 #E22F88 #88E22F
tetradic
#2F88E2 #E22FE1 #E2892F #2FE22F
square
#2F88E2 #E22FE1 #E2892F #2FE22F
split-complementary
#2F88E2 #E22F2F #E1E22F
monochromatic
#124B84 #1A69BA #2F88E2 #65A7E9 #9AC5F1

Accessibility & contrast

On white

3.66
#2F88E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#2F88E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F88E2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F88E2#FFFFFF#000000##000000
##2F88E21.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8EE6
Deuteranopia (green-blind)
#3F7EE0
Tritanopia (blue-blind)
#009DAA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2f88e2;
/* rgb */ color: rgb(47, 136, 226);
/* oklch */ color: oklch(62.0% 0.159 252.3);
Tailwind
colors: {
  custom: {
    50: '#82aaeb',
    500: '#2f88e2',
    950: '#000000',
  },
}
SCSS
$custom: #2f88e2;
$custom-light: #82aaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f88e2",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 226
  },
  "hsl": {
    "h": 210.168,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61957,
    "c": 0.15925,
    "h": 252.3
  },
  "luminance": 0.23704
}

Semantic roles & 50–950 ramp

primary
#2F88E2
secondary
#DDB790
accent
#9436F2
background
#F8FAFE
surface
#F0F4FD
border
#CBCED5
text
#0C0F16
muted
#7D7F84

Preview Lab

Preview with #2F88E2

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

Preview Lab → · Contrast checker → · Palette generator →

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