#2A6BC5#2A6BC5

#2A6BC5 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.5% C 0.155 H 257.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2A6BC5
RGBrgb(42, 107, 197)
HSLhsl(215, 65%, 47%)
HSVhsv(215, 79%, 77%)
CMYKcmyk(78.7%, 45.7%, 0%, 22.7%)
CIE-LABlab(45.68, 11.84, -52.79)
CIE-LCHlch(45.68, 54.10, 282.64°)
OKLaboklab(53.52% -0.0335 -0.1515)
OKLCHoklch(53.52% 0.155 257.5)
XYZxyz(16.2869, 15.0369, 54.8565)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BC5 #C5842A
analogous
#2AB9C5 #2A6BC5 #372AC5
triadic
#2A6BC5 #C52A6B #6BC52A
tetradic
#2A6BC5 #C52AB9 #C5842A #2AC537
square
#2A6BC5 #C52AB9 #C5842A #2AC537
split-complementary
#2A6BC5 #C5372A #B9C52A
monochromatic
#143460 #1F5093 #2A6BC5 #528BDA #85ADE5

Accessibility & contrast

On white

5.24
#2A6BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2A6BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6BC5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BC5#FFFFFF#000000##FFFFFF
##2A6BC51.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B74C8
Deuteranopia (green-blind)
#1666C3
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6bc5;
/* rgb */ color: rgb(42, 107, 197);
/* oklch */ color: oklch(53.5% 0.155 257.5);
Tailwind
colors: {
  custom: {
    50: '#7b94d7',
    500: '#2a6bc5',
    950: '#000000',
  },
}
SCSS
$custom: #2a6bc5;
$custom-light: #7b94d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6bc5",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 197
  },
  "hsl": {
    "h": 214.839,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53522,
    "c": 0.15513,
    "h": 257.5
  },
  "luminance": 0.15039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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