#2A6EC4#2A6EC4

#2A6EC4 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 54.1% C 0.150 H 256.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2A6EC4
RGBrgb(42, 110, 196)
HSLhsl(214, 65%, 47%)
HSVhsv(214, 79%, 77%)
CMYKcmyk(78.6%, 43.9%, 0%, 23.1%)
CIE-LABlab(46.48, 9.55, -50.93)
CIE-LCHlch(46.48, 51.82, 280.62°)
OKLaboklab(54.12% -0.0361 -0.146)
OKLCHoklch(54.12% 0.15 256.1)
XYZxyz(16.4909, 15.6277, 54.3612)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6EC4 #C4802A
analogous
#2ABBC4 #2A6EC4 #332AC4
triadic
#2A6EC4 #C42A6E #6EC42A
tetradic
#2A6EC4 #C42ABB #C4802A #2AC433
square
#2A6EC4 #C42ABB #C4802A #2AC433
split-complementary
#2A6EC4 #C4332A #BBC42A
monochromatic
#14355F #1F5292 #2A6EC4 #518EDA #84AFE5

Accessibility & contrast

On white

5.09
#2A6EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2A6EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6EC4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6EC4#FFFFFF#000000##FFFFFF
##2A6EC41.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4276C7
Deuteranopia (green-blind)
#2368C2
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a6ec4;
/* rgb */ color: rgb(42, 110, 196);
/* oklch */ color: oklch(54.1% 0.150 256.1);
Tailwind
colors: {
  custom: {
    50: '#7b97d6',
    500: '#2a6ec4',
    950: '#000000',
  },
}
SCSS
$custom: #2a6ec4;
$custom-light: #7b97d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6ec4",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 196
  },
  "hsl": {
    "h": 213.506,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54119,
    "c": 0.15036,
    "h": 256.1
  },
  "luminance": 0.1563
}

Semantic roles & 50–950 ramp

primary
#2A6EC4
secondary
#CEAA7C
accent
#9E40E8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2A6EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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