#2A6CC9#2A6CC9

#2A6CC9 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.0% C 0.159 H 257.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2A6CC9
RGBrgb(42, 108, 201)
HSLhsl(215, 65%, 48%)
HSVhsv(215, 79%, 79%)
CMYKcmyk(79.1%, 46.3%, 0%, 21.2%)
CIE-LABlab(46.22, 12.72, -54.23)
CIE-LCHlch(46.22, 55.70, 283.20°)
OKLaboklab(54.02% -0.0336 -0.1557)
OKLCHoklch(54.02% 0.159 257.8)
XYZxyz(16.8561, 15.4324, 57.3374)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6CC9 #C9872A
analogous
#2ABCC9 #2A6CC9 #372AC9
triadic
#2A6CC9 #C92A6C #6CC92A
tetradic
#2A6CC9 #C92ABC #C9872A #2AC937
square
#2A6CC9 #C92ABC #C9872A #2AC937
split-complementary
#2A6CC9 #C9372A #BCC92A
monochromatic
#153664 #1F5196 #2A6CC9 #558DDB #87AFE6

Accessibility & contrast

On white

5.14
#2A6CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6CC9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6CC9#FFFFFF#000000##FFFFFF
##2A6CC91.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A75CC
Deuteranopia (green-blind)
#0E67C7
Tritanopia (blue-blind)
#008291
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a6cc9;
/* rgb */ color: rgb(42, 108, 201);
/* oklch */ color: oklch(54.0% 0.159 257.8);
Tailwind
colors: {
  custom: {
    50: '#7c95da',
    500: '#2a6cc9',
    950: '#000000',
  },
}
SCSS
$custom: #2a6cc9;
$custom-light: #7c95da;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6cc9",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 201
  },
  "hsl": {
    "h": 215.094,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54017,
    "c": 0.15927,
    "h": 257.8
  },
  "luminance": 0.15434
}

Semantic roles & 50–950 ramp

primary
#2A6CC9
secondary
#D0AE7F
accent
#A23FE8
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2A6CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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