#2C5DC0#2C5DC0

#2C5DC0 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.165 H 262.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2C5DC0
RGBrgb(44, 93, 192)
HSLhsl(220, 63%, 46%)
HSVhsv(220, 77%, 75%)
CMYKcmyk(77.1%, 51.6%, 0%, 24.7%)
CIE-LABlab(41.48, 19.18, -56.67)
CIE-LCHlch(41.48, 59.82, 288.70°)
OKLaboklab(50.21% -0.0219 -0.1631)
OKLCHoklch(50.21% 0.165 262.4)
XYZxyz(14.4641, 12.1683, 51.4454)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DC0 #C08F2C
analogous
#2CA7C0 #2C5DC0 #452CC0
triadic
#2C5DC0 #C02C5D #5DC02C
tetradic
#2C5DC0 #C02CA7 #C08F2C #2CC045
square
#2C5DC0 #C02CA7 #C08F2C #2CC045
split-complementary
#2C5DC0 #C0452C #A7C02C
monochromatic
#152D5C #21458E #2C5DC0 #527ED7 #84A3E3

Accessibility & contrast

On white

6.12
#2C5DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2C5DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DC0
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DC0#FFFFFF#000000##FFFFFF
##2C5DC01.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B69C4
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c5dc0;
/* rgb */ color: rgb(44, 93, 192);
/* oklch */ color: oklch(50.2% 0.165 262.4);
Tailwind
colors: {
  custom: {
    50: '#7b8ad4',
    500: '#2c5dc0',
    950: '#000000',
  },
}
SCSS
$custom: #2c5dc0;
$custom-light: #7b8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5dc0",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 220.135,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5021,
    "c": 0.16459,
    "h": 262.4
  },
  "luminance": 0.1217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C5DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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