#2A6DD3#2A6DD3

#2A6DD3 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.9% C 0.171 H 259.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2A6DD3
RGBrgb(42, 109, 211)
HSLhsl(216, 67%, 50%)
HSVhsv(216, 80%, 83%)
CMYKcmyk(80.1%, 48.3%, 0%, 17.3%)
CIE-LABlab(47.15, 15.89, -58.46)
CIE-LCHlch(47.15, 60.58, 285.21°)
OKLaboklab(54.94% -0.0327 -0.1681)
OKLCHoklch(54.94% 0.171 259)
XYZxyz(18.1770, 16.1305, 63.7709)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DD3 #D3902A
analogous
#2AC2D3 #2A6DD3 #3C2AD3
triadic
#2A6DD3 #D32A6D #6DD32A
tetradic
#2A6DD3 #D32AC2 #D3902A #2AD33C
square
#2A6DD3 #D32AC2 #D3902A #2AD33C
split-complementary
#2A6DD3 #D33C2A #C2D32A
monochromatic
#16386D #2053A0 #2A6DD3 #5C90DE #8FB2E9

Accessibility & contrast

On white

4.97
#2A6DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2A6DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DD3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DD3#FFFFFF#000000##FFFFFF
##2A6DD31.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3178D7
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a6dd3;
/* rgb */ color: rgb(42, 109, 211);
/* oklch */ color: oklch(54.9% 0.171 259.0);
Tailwind
colors: {
  custom: {
    50: '#7e96e1',
    500: '#2a6dd3',
    950: '#000000',
  },
}
SCSS
$custom: #2a6dd3;
$custom-light: #7e96e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6dd3",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 211
  },
  "hsl": {
    "h": 216.213,
    "s": 66.798,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54935,
    "c": 0.17129,
    "h": 259
  },
  "luminance": 0.16133
}

Semantic roles & 50–950 ramp

primary
#2A6DD3
secondary
#D3B486
accent
#A63EEA
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2A6DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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