#2C44C2#2C44C2

#2C44C2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.197 H 268.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2C44C2
RGBrgb(44, 68, 194)
HSLhsl(230, 63%, 47%)
HSVhsv(230, 77%, 76%)
CMYKcmyk(77.3%, 64.9%, 0%, 23.9%)
CIE-LABlab(35.13, 36.17, -68.18)
CIE-LCHlch(35.13, 77.18, 297.95°)
OKLaboklab(45.5% -0.0051 -0.1973)
OKLCHoklch(45.5% 0.197 268.5)
XYZxyz(12.8401, 8.5633, 52.0046)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C44C2 #C2AA2C
analogous
#2C8FC2 #2C44C2 #5F2CC2
triadic
#2C44C2 #C22C44 #44C22C
tetradic
#2C44C2 #C22C8F #C2AA2C #2CC25F
square
#2C44C2 #C22C8F #C2AA2C #2CC25F
split-complementary
#2C44C2 #C25F2C #8FC22C
monochromatic
#15215E #213390 #2C44C2 #5368D8 #8594E3

Accessibility & contrast

On white

7.74
#2C44C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2C44C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C44C2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C44C2#FFFFFF#000000##FFFFFF
##2C44C21.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c44c2;
/* rgb */ color: rgb(44, 68, 194);
/* oklch */ color: oklch(45.5% 0.197 268.5);
Tailwind
colors: {
  custom: {
    50: '#7d78d6',
    500: '#2c44c2',
    950: '#000000',
  },
}
SCSS
$custom: #2c44c2;
$custom-light: #7d78d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c44c2",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 194
  },
  "hsl": {
    "h": 230.4,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.19736,
    "h": 268.5
  },
  "luminance": 0.08565
}

Semantic roles & 50–950 ramp

primary
#2C44C2
secondary
#CDC07D
accent
#CC42E6
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C44C2

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

Preview Lab → · Contrast checker → · Palette generator →

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