#2A6CC6#2A6CC6

#2A6CC6 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.8% C 0.155 H 257.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2A6CC6
RGBrgb(42, 108, 198)
HSLhsl(215, 65%, 47%)
HSVhsv(215, 79%, 78%)
CMYKcmyk(78.8%, 45.5%, 0%, 22.4%)
CIE-LABlab(46.03, 11.58, -52.81)
CIE-LCHlch(46.03, 54.06, 282.37°)
OKLaboklab(53.81% -0.0341 -0.1515)
OKLCHoklch(53.81% 0.155 257.3)
XYZxyz(16.5067, 15.2926, 55.4969)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6CC6 #C6842A
analogous
#2ABAC6 #2A6CC6 #362AC6
triadic
#2A6CC6 #C62A6C #6CC62A
tetradic
#2A6CC6 #C62ABA #C6842A #2AC636
square
#2A6CC6 #C62ABA #C6842A #2AC636
split-complementary
#2A6CC6 #C6362A #BAC62A
monochromatic
#153561 #1F5094 #2A6CC6 #538CDA #85AEE5

Accessibility & contrast

On white

5.17
#2A6CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2A6CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6CC6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6CC6#FFFFFF#000000##FFFFFF
##2A6CC61.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C75C9
Deuteranopia (green-blind)
#1766C4
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a6cc6;
/* rgb */ color: rgb(42, 108, 198);
/* oklch */ color: oklch(53.8% 0.155 257.3);
Tailwind
colors: {
  custom: {
    50: '#7b95d8',
    500: '#2a6cc6',
    950: '#000000',
  },
}
SCSS
$custom: #2a6cc6;
$custom-light: #7b95d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6cc6",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 198
  },
  "hsl": {
    "h": 214.615,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53811,
    "c": 0.1553,
    "h": 257.3
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#2A6CC6
secondary
#CEAC7D
accent
#A140E8
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2A6CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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