#2C5DC2#2C5DC2

#2C5DC2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.167 H 262.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2C5DC2
RGBrgb(44, 93, 194)
HSLhsl(220, 63%, 47%)
HSVhsv(220, 77%, 76%)
CMYKcmyk(77.3%, 52.1%, 0%, 23.9%)
CIE-LABlab(41.62, 19.94, -57.60)
CIE-LCHlch(41.62, 60.95, 289.09°)
OKLaboklab(50.36% -0.0217 -0.1659)
OKLCHoklch(50.36% 0.167 262.6)
XYZxyz(14.6872, 12.2575, 52.6203)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DC2 #C2912C
analogous
#2CA8C2 #2C5DC2 #462CC2
triadic
#2C5DC2 #C22C5D #5DC22C
tetradic
#2C5DC2 #C22CA8 #C2912C #2CC246
square
#2C5DC2 #C22CA8 #C2912C #2CC246
split-complementary
#2C5DC2 #C2462C #A8C22C
monochromatic
#152D5E #214590 #2C5DC2 #537FD8 #85A4E3

Accessibility & contrast

On white

6.08
#2C5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2C5DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DC2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DC2#FFFFFF#000000##FFFFFF
##2C5DC21.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1769C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c5dc2;
/* rgb */ color: rgb(44, 93, 194);
/* oklch */ color: oklch(50.4% 0.167 262.6);
Tailwind
colors: {
  custom: {
    50: '#7b8ad5',
    500: '#2c5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #2c5dc2;
$custom-light: #7b8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5dc2",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 220.4,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50362,
    "c": 0.16729,
    "h": 262.6
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#2C5DC2
secondary
#CDB37D
accent
#B042E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2C5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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