#2A6AC5#2A6AC5

#2A6AC5 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.3% C 0.156 H 257.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2A6AC5
RGBrgb(42, 106, 197)
HSLhsl(215, 65%, 47%)
HSVhsv(215, 79%, 77%)
CMYKcmyk(78.7%, 46.2%, 0%, 22.7%)
CIE-LABlab(45.40, 12.47, -53.25)
CIE-LCHlch(45.40, 54.69, 283.18°)
OKLaboklab(53.3% -0.0327 -0.1529)
OKLCHoklch(53.3% 0.156 257.9)
XYZxyz(16.1832, 14.8296, 54.8220)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6AC5 #C5852A
analogous
#2AB8C5 #2A6AC5 #382AC5
triadic
#2A6AC5 #C52A6A #6AC52A
tetradic
#2A6AC5 #C52AB8 #C5852A #2AC538
square
#2A6AC5 #C52AB8 #C5852A #2AC538
split-complementary
#2A6AC5 #C5382A #B8C52A
monochromatic
#143460 #1F4F93 #2A6AC5 #528ADA #85ACE5

Accessibility & contrast

On white

5.29
#2A6AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2A6AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6AC5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6AC5#FFFFFF#000000##FFFFFF
##2A6AC51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3973C8
Deuteranopia (green-blind)
#1065C3
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6ac5;
/* rgb */ color: rgb(42, 106, 197);
/* oklch */ color: oklch(53.3% 0.156 257.9);
Tailwind
colors: {
  custom: {
    50: '#7b94d7',
    500: '#2a6ac5',
    950: '#000000',
  },
}
SCSS
$custom: #2a6ac5;
$custom-light: #7b94d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6ac5",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 197
  },
  "hsl": {
    "h": 215.226,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53302,
    "c": 0.1563,
    "h": 257.9
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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