#2C35C6#2C35C6

#2C35C6 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.5% C 0.218 H 270.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2C35C6
RGBrgb(44, 53, 198)
HSLhsl(236, 64%, 47%)
HSVhsv(236, 78%, 78%)
CMYKcmyk(77.8%, 73.2%, 0%, 22.4%)
CIE-LABlab(32.16, 46.68, -75.41)
CIE-LCHlch(32.16, 88.68, 301.76°)
OKLaboklab(43.47% 0.0017 -0.2184)
OKLCHoklch(43.47% 0.218 270.4)
XYZxyz(12.5014, 7.1575, 54.1378)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C35C6 #C6BD2C
analogous
#2C82C6 #2C35C6 #702CC6
triadic
#2C35C6 #C62C35 #35C62C
tetradic
#2C35C6 #C62C82 #C6BD2C #2CC670
square
#2C35C6 #C62C82 #C6BD2C #2CC670
split-complementary
#2C35C6 #C6702C #82C62C
monochromatic
#161A62 #212894 #2C35C6 #565DD9 #888DE5

Accessibility & contrast

On white

8.64
#2C35C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2C35C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C35C6
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C35C6#FFFFFF#000000##FFFFFF
##2C35C61.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CA
Deuteranopia (green-blind)
#0044C3
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c35c6;
/* rgb */ color: rgb(44, 53, 198);
/* oklch */ color: oklch(43.5% 0.218 270.4);
Tailwind
colors: {
  custom: {
    50: '#7f6ed9',
    500: '#2c35c6',
    950: '#000000',
  },
}
SCSS
$custom: #2c35c6;
$custom-light: #7f6ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c35c6",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 236.494,
    "s": 63.636,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43473,
    "c": 0.21839,
    "h": 270.4
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#2C35C6
secondary
#CECA80
accent
#DD41E7
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2C35C6

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

Preview Lab → · Contrast checker → · Palette generator →

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