#2E6EC5#2E6EC5

#2E6EC5 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.3% C 0.151 H 257.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2E6EC5
RGBrgb(46, 110, 197)
HSLhsl(215, 62%, 48%)
HSVhsv(215, 77%, 77%)
CMYKcmyk(76.6%, 44.2%, 0%, 22.7%)
CIE-LABlab(46.66, 10.39, -51.22)
CIE-LCHlch(46.66, 52.26, 281.46°)
OKLaboklab(54.31% -0.0335 -0.1467)
OKLCHoklch(54.31% 0.151 257.1)
XYZxyz(16.7770, 15.7620, 54.9707)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6EC5 #C5852E
analogous
#2EB9C5 #2E6EC5 #3A2EC5
triadic
#2E6EC5 #C52E6E #6EC52E
tetradic
#2E6EC5 #C52EB9 #C5852E #2EC53A
square
#2E6EC5 #C52EB9 #C5852E #2EC53A
split-complementary
#2E6EC5 #C53A2E #B9C52E
monochromatic
#173762 #225293 #2E6EC5 #588ED8 #8AB0E4

Accessibility & contrast

On white

5.06
#2E6EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2E6EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6EC5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6EC5#FFFFFF#000000##FFFFFF
##2E6EC51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4276C8
Deuteranopia (green-blind)
#2368C3
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e6ec5;
/* rgb */ color: rgb(46, 110, 197);
/* oklch */ color: oklch(54.3% 0.151 257.1);
Tailwind
colors: {
  custom: {
    50: '#7c97d7',
    500: '#2e6ec5',
    950: '#000000',
  },
}
SCSS
$custom: #2e6ec5;
$custom-light: #7c97d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6ec5",
  "rgb": {
    "r": 46,
    "g": 110,
    "b": 197
  },
  "hsl": {
    "h": 214.57,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5431,
    "c": 0.15053,
    "h": 257.1
  },
  "luminance": 0.15764
}

Semantic roles & 50–950 ramp

primary
#2E6EC5
secondary
#CEAD81
accent
#A043E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2E6EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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