#2C35B1#2C35B1

#2C35B1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.192 H 271.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2C35B1
RGBrgb(44, 53, 177)
HSLhsl(236, 60%, 43%)
HSVhsv(236, 75%, 69%)
CMYKcmyk(75.1%, 70.1%, 0%, 30.6%)
CIE-LABlab(30.05, 39.48, -66.49)
CIE-LCHlch(30.05, 77.33, 300.70°)
OKLaboklab(41.32% 0.0045 -0.1924)
OKLCHoklch(41.32% 0.192 271.3)
XYZxyz(10.2449, 6.2549, 42.2538)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C35B1 #B1A82C
analogous
#2C77B1 #2C35B1 #652CB1
triadic
#2C35B1 #B12C35 #35B12C
tetradic
#2C35B1 #B12C77 #B1A82C #2CB165
square
#2C35B1 #B12C77 #B1A82C #2CB165
split-complementary
#2C35B1 #B1652C #77B12C
monochromatic
#14184F #202680 #2C35B1 #4952D2 #7A80DE

Accessibility & contrast

On white

9.33
#2C35B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2C35B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C35B1
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C35B1#FFFFFF#000000##FFFFFF
##2C35B11.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c35b1;
/* rgb */ color: rgb(44, 53, 177);
/* oklch */ color: oklch(41.3% 0.192 271.3);
Tailwind
colors: {
  custom: {
    50: '#7a6dc9',
    500: '#2c35b1',
    950: '#000000',
  },
}
SCSS
$custom: #2c35b1;
$custom-light: #7a6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c35b1",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 235.94,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41323,
    "c": 0.19246,
    "h": 271.3
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#2C35B1
secondary
#C6C073
accent
#D944E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C35B1

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

Preview Lab → · Contrast checker → · Palette generator →

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