#2D6AC2#2D6AC2

#2D6AC2 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.2% C 0.151 H 258.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2D6AC2
RGBrgb(45, 106, 194)
HSLhsl(215, 62%, 47%)
HSVhsv(215, 77%, 76%)
CMYKcmyk(76.8%, 45.4%, 0%, 23.9%)
CIE-LABlab(45.30, 11.67, -51.67)
CIE-LCHlch(45.30, 52.97, 282.73°)
OKLaboklab(53.19% -0.0314 -0.1482)
OKLCHoklch(53.19% 0.151 258)
XYZxyz(15.9703, 14.7592, 53.0356)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6AC2 #C2852D
analogous
#2DB5C2 #2D6AC2 #3A2DC2
triadic
#2D6AC2 #C22D6A #6AC22D
tetradic
#2D6AC2 #C22DB5 #C2852D #2DC23A
square
#2D6AC2 #C22DB5 #C2852D #2DC23A
split-complementary
#2D6AC2 #C23A2D #B5C22D
monochromatic
#16345F #214F90 #2D6AC2 #558AD7 #86ACE3

Accessibility & contrast

On white

5.31
#2D6AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2D6AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6AC2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6AC2#FFFFFF#000000##FFFFFF
##2D6AC21.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C73C5
Deuteranopia (green-blind)
#1B65C0
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d6ac2;
/* rgb */ color: rgb(45, 106, 194);
/* oklch */ color: oklch(53.2% 0.151 258.0);
Tailwind
colors: {
  custom: {
    50: '#7b94d5',
    500: '#2d6ac2',
    950: '#000000',
  },
}
SCSS
$custom: #2d6ac2;
$custom-light: #7b94d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6ac2",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 194
  },
  "hsl": {
    "h": 215.436,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.15144,
    "h": 258
  },
  "luminance": 0.14761
}

Semantic roles & 50–950 ramp

primary
#2D6AC2
secondary
#CDAC7E
accent
#A342E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2D6AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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