#2A6DC5#2A6DC5

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

Color values

HEX#2A6DC5
RGBrgb(42, 109, 197)
HSLhsl(214, 65%, 47%)
HSVhsv(214, 79%, 77%)
CMYKcmyk(78.7%, 44.7%, 0%, 22.7%)
CIE-LABlab(46.26, 10.57, -51.87)
CIE-LCHlch(46.26, 52.94, 281.51°)
OKLaboklab(53.96% -0.0351 -0.1487)
OKLCHoklch(53.96% 0.153 256.7)
XYZxyz(16.4978, 15.4588, 54.9268)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DC5 #C5822A
analogous
#2ABBC5 #2A6DC5 #352AC5
triadic
#2A6DC5 #C52A6D #6DC52A
tetradic
#2A6DC5 #C52ABB #C5822A #2AC535
square
#2A6DC5 #C52ABB #C5822A #2AC535
split-complementary
#2A6DC5 #C5352A #BBC52A
monochromatic
#143560 #1F5193 #2A6DC5 #528DDA #85AEE5

Accessibility & contrast

On white

5.13
#2A6DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2A6DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DC5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DC5#FFFFFF#000000##FFFFFF
##2A6DC51.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F75C8
Deuteranopia (green-blind)
#1E67C3
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a6dc5;
/* rgb */ color: rgb(42, 109, 197);
/* oklch */ color: oklch(54.0% 0.153 256.7);
Tailwind
colors: {
  custom: {
    50: '#7b96d7',
    500: '#2a6dc5',
    950: '#000000',
  },
}
SCSS
$custom: #2a6dc5;
$custom-light: #7b96d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6dc5",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 197
  },
  "hsl": {
    "h": 214.065,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53964,
    "c": 0.15282,
    "h": 256.7
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

primary
#2A6DC5
secondary
#CEAB7D
accent
#9F40E8
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2A6DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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