#2C35A6#2C35A6

#2C35A6 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.178 H 271.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2C35A6
RGBrgb(44, 53, 166)
HSLhsl(236, 58%, 41%)
HSVhsv(236, 73%, 65%)
CMYKcmyk(73.5%, 68.1%, 0%, 34.9%)
CIE-LABlab(28.99, 35.59, -61.63)
CIE-LCHlch(28.99, 71.17, 300.00°)
OKLaboklab(40.24% 0.0057 -0.1782)
OKLCHoklch(40.24% 0.178 271.8)
XYZxyz(9.1924, 5.8339, 36.7106)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C35A6 #A69D2C
analogous
#2C72A6 #2C35A6 #602CA6
triadic
#2C35A6 #A62C35 #35A62C
tetradic
#2C35A6 #A62C72 #A69D2C #2CA660
square
#2C35A6 #A62C72 #A69D2C #2CA660
split-complementary
#2C35A6 #A6602C #72A62C
monochromatic
#121645 #1F2676 #2C35A6 #424CCD #737ADA

Accessibility & contrast

On white

9.69
#2C35A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C35A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C35A6
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C35A6#FFFFFF#000000##FFFFFF
##2C35A61.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c35a6;
/* rgb */ color: rgb(44, 53, 166);
/* oklch */ color: oklch(40.2% 0.178 271.8);
Tailwind
colors: {
  custom: {
    50: '#786cc1',
    500: '#2c35a6',
    950: '#000000',
  },
}
SCSS
$custom: #2c35a6;
$custom-light: #786cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c35a6",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 166
  },
  "hsl": {
    "h": 235.574,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40237,
    "c": 0.17831,
    "h": 271.8
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#2C35A6
secondary
#C1BB6D
accent
#D646E1
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C35A6

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

Preview Lab → · Contrast checker → · Palette generator →

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