#2D6AC0#2D6AC0

#2D6AC0 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.1% C 0.149 H 257.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2D6AC0
RGBrgb(45, 106, 192)
HSLhsl(215, 62%, 46%)
HSVhsv(215, 77%, 75%)
CMYKcmyk(76.6%, 44.8%, 0%, 24.7%)
CIE-LABlab(45.18, 10.91, -50.71)
CIE-LCHlch(45.18, 51.87, 282.15°)
OKLaboklab(53.06% -0.0317 -0.1453)
OKLCHoklch(53.06% 0.149 257.7)
XYZxyz(15.7472, 14.6699, 51.8606)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6AC0 #C0832D
analogous
#2DB4C0 #2D6AC0 #3A2DC0
triadic
#2D6AC0 #C02D6A #6AC02D
tetradic
#2D6AC0 #C02DB4 #C0832D #2DC03A
square
#2D6AC0 #C02DB4 #C0832D #2DC03A
split-complementary
#2D6AC0 #C03A2D #B4C02D
monochromatic
#16335D #214F8E #2D6AC0 #538AD7 #85ACE2

Accessibility & contrast

On white

5.34
#2D6AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2D6AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6AC0
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6AC0#FFFFFF#000000##FFFFFF
##2D6AC01.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C3
Deuteranopia (green-blind)
#1F65BE
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d6ac0;
/* rgb */ color: rgb(45, 106, 192);
/* oklch */ color: oklch(53.1% 0.149 257.7);
Tailwind
colors: {
  custom: {
    50: '#7b94d3',
    500: '#2d6ac0',
    950: '#000000',
  },
}
SCSS
$custom: #2d6ac0;
$custom-light: #7b94d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6ac0",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 192
  },
  "hsl": {
    "h": 215.102,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53057,
    "c": 0.14877,
    "h": 257.7
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#2D6AC0
secondary
#CCAB7D
accent
#A243E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2D6AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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