#2C35AB#2C35AB

#2C35AB is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.185 H 271.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2C35AB
RGBrgb(44, 53, 171)
HSLhsl(236, 59%, 42%)
HSVhsv(236, 74%, 67%)
CMYKcmyk(74.3%, 69%, 0%, 32.9%)
CIE-LABlab(29.47, 37.37, -63.86)
CIE-LCHlch(29.47, 73.99, 300.33°)
OKLaboklab(40.73% 0.0052 -0.1847)
OKLCHoklch(40.73% 0.185 271.6)
XYZxyz(9.6600, 6.0209, 39.1732)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C35AB #ABA22C
analogous
#2C75AB #2C35AB #632CAB
triadic
#2C35AB #AB2C35 #35AB2C
tetradic
#2C35AB #AB2C75 #ABA22C #2CAB63
square
#2C35AB #AB2C75 #ABA22C #2CAB63
split-complementary
#2C35AB #AB632C #75AB2C
monochromatic
#13174A #1F267A #2C35AB #454FCF #767DDC

Accessibility & contrast

On white

9.53
#2C35AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C35AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C35AB
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C35AB#FFFFFF#000000##FFFFFF
##2C35AB1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c35ab;
/* rgb */ color: rgb(44, 53, 171);
/* oklch */ color: oklch(40.7% 0.185 271.6);
Tailwind
colors: {
  custom: {
    50: '#796dc5',
    500: '#2c35ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c35ab;
$custom-light: #796dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c35ab",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 235.748,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40727,
    "c": 0.18479,
    "h": 271.6
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#2C35AB
secondary
#C3BD6F
accent
#D746E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C35AB

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

Preview Lab → · Contrast checker → · Palette generator →

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