#2C43C2#2C43C2

#2C43C2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.199 H 268.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2C43C2
RGBrgb(44, 67, 194)
HSLhsl(231, 63%, 47%)
HSVhsv(231, 77%, 76%)
CMYKcmyk(77.3%, 65.5%, 0%, 23.9%)
CIE-LABlab(34.89, 36.80, -68.57)
CIE-LCHlch(34.89, 77.83, 298.22°)
OKLaboklab(45.33% -0.0046 -0.1984)
OKLCHoklch(45.33% 0.199 268.7)
XYZxyz(12.7801, 8.4434, 51.9847)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C43C2 #C2AB2C
analogous
#2C8EC2 #2C43C2 #602CC2
triadic
#2C43C2 #C22C43 #43C22C
tetradic
#2C43C2 #C22C8E #C2AB2C #2CC260
square
#2C43C2 #C22C8E #C2AB2C #2CC260
split-complementary
#2C43C2 #C2602C #8EC22C
monochromatic
#15215E #213290 #2C43C2 #5368D8 #8594E3

Accessibility & contrast

On white

7.81
#2C43C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2C43C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C43C2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C43C2#FFFFFF#000000##FFFFFF
##2C43C21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c43c2;
/* rgb */ color: rgb(44, 67, 194);
/* oklch */ color: oklch(45.3% 0.199 268.7);
Tailwind
colors: {
  custom: {
    50: '#7d77d6',
    500: '#2c43c2',
    950: '#000000',
  },
}
SCSS
$custom: #2c43c2;
$custom-light: #7d77d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c43c2",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 230.8,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.1985,
    "h": 268.7
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#2C43C2
secondary
#CDC07D
accent
#CD42E6
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2C43C2

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

Preview Lab → · Contrast checker → · Palette generator →

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