#2A6ACA#2A6ACA

#2A6ACA is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.7% C 0.163 H 258.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2A6ACA
RGBrgb(42, 106, 202)
HSLhsl(216, 66%, 48%)
HSVhsv(216, 79%, 79%)
CMYKcmyk(79.2%, 47.5%, 0%, 20.8%)
CIE-LABlab(45.72, 14.38, -55.61)
CIE-LCHlch(45.72, 57.44, 284.50°)
OKLaboklab(53.65% -0.0318 -0.1598)
OKLCHoklch(53.65% 0.163 258.7)
XYZxyz(16.7656, 15.0626, 57.8894)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6ACA #CA8A2A
analogous
#2ABACA #2A6ACA #3A2ACA
triadic
#2A6ACA #CA2A6A #6ACA2A
tetradic
#2A6ACA #CA2ABA #CA8A2A #2ACA3A
square
#2A6ACA #CA2ABA #CA8A2A #2ACA3A
split-complementary
#2A6ACA #CA3A2A #BACA2A
monochromatic
#153565 #1F4F97 #2A6ACA #558BDC #88AEE6

Accessibility & contrast

On white

5.23
#2A6ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6ACA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6ACA#FFFFFF#000000##FFFFFF
##2A6ACA1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#008190
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6aca;
/* rgb */ color: rgb(42, 106, 202);
/* oklch */ color: oklch(53.7% 0.163 258.7);
Tailwind
colors: {
  custom: {
    50: '#7c93db',
    500: '#2a6aca',
    950: '#000000',
  },
}
SCSS
$custom: #2a6aca;
$custom-light: #7c93db;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6aca",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 202
  },
  "hsl": {
    "h": 216,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53651,
    "c": 0.16294,
    "h": 258.7
  },
  "luminance": 0.15065
}

Semantic roles & 50–950 ramp

primary
#2A6ACA
secondary
#D0B080
accent
#A53FE9
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2A6ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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