#2A6FC5#2A6FC5

#2A6FC5 is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.4% C 0.151 H 255.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2A6FC5
RGBrgb(42, 111, 197)
HSLhsl(213, 65%, 47%)
HSVhsv(213, 79%, 77%)
CMYKcmyk(78.7%, 43.7%, 0%, 22.7%)
CIE-LABlab(46.83, 9.30, -50.95)
CIE-LCHlch(46.83, 51.79, 280.35°)
OKLaboklab(54.41% -0.0367 -0.146)
OKLCHoklch(54.41% 0.151 255.9)
XYZxyz(16.7136, 15.8904, 54.9988)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FC5 #C5802A
analogous
#2ABDC5 #2A6FC5 #322AC5
triadic
#2A6FC5 #C52A6F #6FC52A
tetradic
#2A6FC5 #C52ABD #C5802A #2AC532
square
#2A6FC5 #C52ABD #C5802A #2AC532
split-complementary
#2A6FC5 #C5322A #BDC52A
monochromatic
#143660 #1F5393 #2A6FC5 #528FDA #85AFE5

Accessibility & contrast

On white

5.03
#2A6FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2A6FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FC5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FC5#FFFFFF#000000##FFFFFF
##2A6FC51.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a6fc5;
/* rgb */ color: rgb(42, 111, 197);
/* oklch */ color: oklch(54.4% 0.151 255.9);
Tailwind
colors: {
  custom: {
    50: '#7b97d7',
    500: '#2a6fc5',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fc5;
$custom-light: #7b97d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fc5",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 197
  },
  "hsl": {
    "h": 213.29,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54409,
    "c": 0.15055,
    "h": 255.9
  },
  "luminance": 0.15892
}

Semantic roles & 50–950 ramp

primary
#2A6FC5
secondary
#CEAA7D
accent
#9D40E8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2A6FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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