#2C35B4#2C35B4

#2C35B4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.196 H 271.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2C35B4
RGBrgb(44, 53, 180)
HSLhsl(236, 61%, 44%)
HSVhsv(236, 76%, 71%)
CMYKcmyk(75.6%, 70.6%, 0%, 29.4%)
CIE-LABlab(30.34, 40.52, -67.79)
CIE-LCHlch(30.34, 78.98, 300.87°)
OKLaboklab(41.62% 0.0041 -0.1962)
OKLCHoklch(41.62% 0.196 271.2)
XYZxyz(10.5472, 6.3758, 43.8460)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C35B4 #B4AB2C
analogous
#2C79B4 #2C35B4 #672CB4
triadic
#2C35B4 #B42C35 #35B42C
tetradic
#2C35B4 #B42C79 #B4AB2C #2CB467
square
#2C35B4 #B42C79 #B4AB2C #2CB467
split-complementary
#2C35B4 #B4672C #79B42C
monochromatic
#141852 #202783 #2C35B4 #4A53D3 #7C82DF

Accessibility & contrast

On white

9.23
#2C35B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2C35B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C35B4
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C35B4#FFFFFF#000000##FFFFFF
##2C35B41.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c35b4;
/* rgb */ color: rgb(44, 53, 180);
/* oklch */ color: oklch(41.6% 0.196 271.2);
Tailwind
colors: {
  custom: {
    50: '#7b6dcc',
    500: '#2c35b4',
    950: '#000000',
  },
}
SCSS
$custom: #2c35b4;
$custom-light: #7b6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c35b4",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 236.029,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41624,
    "c": 0.19625,
    "h": 271.2
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#2C35B4
secondary
#C7C275
accent
#D944E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C35B4

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

Preview Lab → · Contrast checker → · Palette generator →

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