#2E88B2#2E88B2

#2E88B2 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.3% C 0.105 H 233.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2E88B2
RGBrgb(46, 136, 178)
HSLhsl(199, 59%, 44%)
HSVhsv(199, 74%, 70%)
CMYKcmyk(74.2%, 23.6%, 0%, 30.2%)
CIE-LABlab(53.39, -12.14, -29.67)
CIE-LCHlch(53.39, 32.06, 247.75°)
OKLaboklab(59.28% -0.063 -0.0835)
OKLCHoklch(59.28% 0.105 233)
XYZxyz(17.9635, 21.4014, 45.2950)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E88B2 #B2582E
analogous
#2EB29A #2E88B2 #2E46B2
triadic
#2E88B2 #B22E88 #88B22E
tetradic
#2E88B2 #9A2EB2 #B2582E #46B22E
square
#2E88B2 #9A2EB2 #B2582E #46B22E
split-complementary
#2E88B2 #B22E46 #B29A2E
monochromatic
#153E51 #216381 #2E88B2 #4CA7D1 #7DBFDD

Accessibility & contrast

On white

3.98
#2E88B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#2E88B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E88B2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E88B2#FFFFFF#000000##000000
##2E88B21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7387B4
Deuteranopia (green-blind)
#617AB1
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2e88b2;
/* rgb */ color: rgb(46, 136, 178);
/* oklch */ color: oklch(59.3% 0.105 233.0);
Tailwind
colors: {
  custom: {
    50: '#79aac9',
    500: '#2e88b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e88b2;
$custom-light: #79aac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e88b2",
  "rgb": {
    "r": 46,
    "g": 136,
    "b": 178
  },
  "hsl": {
    "h": 199.091,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.59279,
    "c": 0.10456,
    "h": 233
  },
  "luminance": 0.21404
}

Semantic roles & 50–950 ramp

primary
#2E88B2
secondary
#C68F76
accent
#7746E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2E88B2

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

Preview Lab → · Contrast checker → · Palette generator →

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