#2C6ACD#2C6ACD

#2C6ACD is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.9% C 0.166 H 259.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2C6ACD
RGBrgb(44, 106, 205)
HSLhsl(217, 65%, 49%)
HSVhsv(217, 79%, 80%)
CMYKcmyk(78.5%, 48.3%, 0%, 19.6%)
CIE-LABlab(45.97, 15.73, -56.92)
CIE-LCHlch(45.97, 59.05, 285.45°)
OKLaboklab(53.93% -0.0302 -0.1636)
OKLCHoklch(53.93% 0.166 259.6)
XYZxyz(17.2082, 15.2493, 59.7822)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6ACD #CD8F2C
analogous
#2CBBCD #2C6ACD #3E2CCD
triadic
#2C6ACD #CD2C6A #6ACD2C
tetradic
#2C6ACD #CD2CBB #CD8F2C #2CCD3E
square
#2C6ACD #CD2CBB #CD8F2C #2CCD3E
split-complementary
#2C6ACD #CD3E2C #BBCD2C
monochromatic
#163668 #21509B #2C6ACD #5B8CDC #8DAFE7

Accessibility & contrast

On white

5.18
#2C6ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2C6ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6ACD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6ACD#FFFFFF#000000##FFFFFF
##2C6ACD1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c6acd;
/* rgb */ color: rgb(44, 106, 205);
/* oklch */ color: oklch(53.9% 0.166 259.6);
Tailwind
colors: {
  custom: {
    50: '#7d93dd',
    500: '#2c6acd',
    950: '#000000',
  },
}
SCSS
$custom: #2c6acd;
$custom-light: #7d93dd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6acd",
  "rgb": {
    "r": 44,
    "g": 106,
    "b": 205
  },
  "hsl": {
    "h": 216.894,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53926,
    "c": 0.16639,
    "h": 259.6
  },
  "luminance": 0.15251
}

Semantic roles & 50–950 ramp

primary
#2C6ACD
secondary
#D1B384
accent
#A740E8
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2C6ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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