#2C35AD#2C35AD

#2C35AD is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.187 H 271.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2C35AD
RGBrgb(44, 53, 173)
HSLhsl(236, 59%, 43%)
HSVhsv(236, 75%, 68%)
CMYKcmyk(74.6%, 69.4%, 0%, 32.2%)
CIE-LABlab(29.66, 38.07, -64.74)
CIE-LCHlch(29.66, 75.10, 300.46°)
OKLaboklab(40.92% 0.0049 -0.1873)
OKLCHoklch(40.92% 0.187 271.5)
XYZxyz(9.8521, 6.0978, 40.1848)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C35AD #ADA42C
analogous
#2C75AD #2C35AD #642CAD
triadic
#2C35AD #AD2C35 #35AD2C
tetradic
#2C35AD #AD2C75 #ADA42C #2CAD64
square
#2C35AD #AD2C75 #ADA42C #2CAD64
split-complementary
#2C35AD #AD642C #75AD2C
monochromatic
#13174B #20267C #2C35AD #4650D0 #777EDC

Accessibility & contrast

On white

9.46
#2C35AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2C35AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C35AD
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C35AD#FFFFFF#000000##FFFFFF
##2C35AD1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0040AB
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c35ad;
/* rgb */ color: rgb(44, 53, 173);
/* oklch */ color: oklch(40.9% 0.187 271.5);
Tailwind
colors: {
  custom: {
    50: '#796dc7',
    500: '#2c35ad',
    950: '#000000',
  },
}
SCSS
$custom: #2c35ad;
$custom-light: #796dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c35ad",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 235.814,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40925,
    "c": 0.18737,
    "h": 271.5
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#2C35AD
secondary
#C4BE71
accent
#D845E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C35AD

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

Preview Lab → · Contrast checker → · Palette generator →

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