#2C5DCA#2C5DCA

#2C5DCA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.178 H 263.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2C5DCA
RGBrgb(44, 93, 202)
HSLhsl(221, 64%, 48%)
HSVhsv(221, 78%, 79%)
CMYKcmyk(78.2%, 54%, 0%, 20.8%)
CIE-LABlab(42.20, 22.97, -61.30)
CIE-LCHlch(42.20, 65.47, 290.54°)
OKLaboklab(50.98% -0.0209 -0.1768)
OKLCHoklch(50.98% 0.178 263.3)
XYZxyz(15.6099, 12.6266, 57.4801)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DCA #CA992C
analogous
#2CACCA #2C5DCA #4A2CCA
triadic
#2C5DCA #CA2C5D #5DCA2C
tetradic
#2C5DCA #CA2CAC #CA992C #2CCA4A
square
#2C5DCA #CA2CAC #CA992C #2CCA4A
split-complementary
#2C5DCA #CA4A2C #ACCA2C
monochromatic
#162F65 #214698 #2C5DCA #5881DB #8BA7E6

Accessibility & contrast

On white

5.96
#2C5DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2C5DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DCA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DCA#FFFFFF#000000##FFFFFF
##2C5DCA1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c5dca;
/* rgb */ color: rgb(44, 93, 202);
/* oklch */ color: oklch(51.0% 0.178 263.3);
Tailwind
colors: {
  custom: {
    50: '#7d8adb',
    500: '#2c5dca',
    950: '#000000',
  },
}
SCSS
$custom: #2c5dca;
$custom-light: #7d8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5dca",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 221.392,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50978,
    "c": 0.178,
    "h": 263.3
  },
  "luminance": 0.12628
}

Semantic roles & 50–950 ramp

primary
#2C5DCA
secondary
#D0B882
accent
#B441E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2C5DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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