#2C35A2#2C35A2

#2C35A2 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.173 H 272.0°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#2C35A2
RGBrgb(44, 53, 162)
HSLhsl(235, 57%, 40%)
HSVhsv(235, 73%, 64%)
CMYKcmyk(72.8%, 67.3%, 0%, 36.5%)
CIE-LABlab(28.61, 34.16, -59.83)
CIE-LCHlch(28.61, 68.89, 299.72°)
OKLaboklab(39.85% 0.0061 -0.1729)
OKLCHoklch(39.85% 0.173 272)
XYZxyz(8.8312, 5.6894, 34.8082)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C35A2 #A2992C
analogous
#2C70A2 #2C35A2 #5E2CA2
triadic
#2C35A2 #A22C35 #35A22C
tetradic
#2C35A2 #A22C70 #A2992C #2CA25E
square
#2C35A2 #A22C70 #A2992C #2CA25E
split-complementary
#2C35A2 #A25E2C #70A22C
monochromatic
#121642 #1F2572 #2C35A2 #404BCB #7078D8

Accessibility & contrast

On white

9.82
#2C35A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C35A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C35A2
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C35A2#FFFFFF#000000##FFFFFF
##2C35A21.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c35a2;
/* rgb */ color: rgb(44, 53, 162);
/* oklch */ color: oklch(39.9% 0.173 272.0);
Tailwind
colors: {
  custom: {
    50: '#776cbf',
    500: '#2c35a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c35a2;
$custom-light: #776cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c35a2",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 235.424,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39851,
    "c": 0.17306,
    "h": 272
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#2C35A2
secondary
#BFB96A
accent
#D547E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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