#2C35B0#2C35B0

#2C35B0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.191 H 271.4°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2C35B0
RGBrgb(44, 53, 176)
HSLhsl(236, 60%, 43%)
HSVhsv(236, 75%, 69%)
CMYKcmyk(75%, 69.9%, 0%, 31%)
CIE-LABlab(29.95, 39.13, -66.05)
CIE-LCHlch(29.95, 76.77, 300.64°)
OKLaboklab(41.22% 0.0046 -0.1911)
OKLCHoklch(41.22% 0.191 271.4)
XYZxyz(10.1456, 6.2152, 41.7308)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C35B0 #B0A72C
analogous
#2C77B0 #2C35B0 #652CB0
triadic
#2C35B0 #B02C35 #35B02C
tetradic
#2C35B0 #B02C77 #B0A72C #2CB065
square
#2C35B0 #B02C77 #B0A72C #2CB065
split-complementary
#2C35B0 #B0652C #77B02C
monochromatic
#14184E #20267F #2C35B0 #4851D1 #7980DD

Accessibility & contrast

On white

9.36
#2C35B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2C35B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C35B0
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C35B0#FFFFFF#000000##FFFFFF
##2C35B01.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0040AE
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c35b0;
/* rgb */ color: rgb(44, 53, 176);
/* oklch */ color: oklch(41.2% 0.191 271.4);
Tailwind
colors: {
  custom: {
    50: '#7a6dc9',
    500: '#2c35b0',
    950: '#000000',
  },
}
SCSS
$custom: #2c35b0;
$custom-light: #7a6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c35b0",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 176
  },
  "hsl": {
    "h": 235.909,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41223,
    "c": 0.1912,
    "h": 271.4
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C35B0

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

Preview Lab → · Contrast checker → · Palette generator →

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