#2E7BC8#2E7BC8

#2E7BC8 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.4% C 0.140 H 251.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2E7BC8
RGBrgb(46, 123, 200)
HSLhsl(210, 63%, 48%)
HSVhsv(210, 77%, 78%)
CMYKcmyk(77%, 38.5%, 0%, 21.6%)
CIE-LABlab(50.59, 3.44, -46.67)
CIE-LCHlch(50.59, 46.79, 274.21°)
OKLaboklab(57.42% -0.0441 -0.1331)
OKLCHoklch(57.42% 0.14 251.7)
XYZxyz(18.6311, 18.9147, 57.3014)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7BC8 #C87B2E
analogous
#2EC8C8 #2E7BC8 #2E2EC8
triadic
#2E7BC8 #C82E7B #7BC82E
tetradic
#2E7BC8 #C82EC8 #C87B2E #2EC82E
square
#2E7BC8 #C82EC8 #C87B2E #2EC82E
split-complementary
#2E7BC8 #C82E2E #C8C82E
monochromatic
#173E64 #235C96 #2E7BC8 #5A9AD9 #8CB8E5

Accessibility & contrast

On white

4.39
#2E7BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2E7BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7BC8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7BC8#FFFFFF#000000##000000
##2E7BC81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CB
Deuteranopia (green-blind)
#3E72C6
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e7bc8;
/* rgb */ color: rgb(46, 123, 200);
/* oklch */ color: oklch(57.4% 0.140 251.7);
Tailwind
colors: {
  custom: {
    50: '#7da0d9',
    500: '#2e7bc8',
    950: '#000000',
  },
}
SCSS
$custom: #2e7bc8;
$custom-light: #7da0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7bc8",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 200
  },
  "hsl": {
    "h": 210,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.14026,
    "h": 251.7
  },
  "luminance": 0.18917
}

Semantic roles & 50–950 ramp

primary
#2E7BC8
secondary
#CFA983
accent
#9442E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2E7BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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