#2A6CC5#2A6CC5

#2A6CC5 is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.7% C 0.154 H 257.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2A6CC5
RGBrgb(42, 108, 197)
HSLhsl(214, 65%, 47%)
HSVhsv(214, 79%, 77%)
CMYKcmyk(78.7%, 45.2%, 0%, 22.7%)
CIE-LABlab(45.97, 11.20, -52.33)
CIE-LCHlch(45.97, 53.52, 282.08°)
OKLaboklab(53.74% -0.0343 -0.1501)
OKLCHoklch(53.74% 0.154 257.1)
XYZxyz(16.3917, 15.2466, 54.8915)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6CC5 #C5832A
analogous
#2ABAC5 #2A6CC5 #362AC5
triadic
#2A6CC5 #C52A6C #6CC52A
tetradic
#2A6CC5 #C52ABA #C5832A #2AC536
square
#2A6CC5 #C52ABA #C5832A #2AC536
split-complementary
#2A6CC5 #C5362A #BAC52A
monochromatic
#143560 #1F5093 #2A6CC5 #528CDA #85AEE5

Accessibility & contrast

On white

5.19
#2A6CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2A6CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6CC5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6CC5#FFFFFF#000000##FFFFFF
##2A6CC51.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D74C8
Deuteranopia (green-blind)
#1A66C3
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a6cc5;
/* rgb */ color: rgb(42, 108, 197);
/* oklch */ color: oklch(53.7% 0.154 257.1);
Tailwind
colors: {
  custom: {
    50: '#7b95d7',
    500: '#2a6cc5',
    950: '#000000',
  },
}
SCSS
$custom: #2a6cc5;
$custom-light: #7b95d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6cc5",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 197
  },
  "hsl": {
    "h": 214.452,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53743,
    "c": 0.15397,
    "h": 257.1
  },
  "luminance": 0.15249
}

Semantic roles & 50–950 ramp

primary
#2A6CC5
secondary
#CEAB7D
accent
#A040E8
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2A6CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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