#2A35C7#2A35C7

#2A35C7 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.5% C 0.220 H 269.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2A35C7
RGBrgb(42, 53, 199)
HSLhsl(236, 65%, 47%)
HSVhsv(236, 79%, 78%)
CMYKcmyk(78.9%, 73.4%, 0%, 22%)
CIE-LABlab(32.17, 46.87, -75.98)
CIE-LCHlch(32.17, 89.27, 301.67°)
OKLaboklab(43.48% -0.0005 -0.2201)
OKLCHoklch(43.48% 0.22 269.9)
XYZxyz(12.5332, 7.1605, 54.7433)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A35C7 #C7BC2A
analogous
#2A84C7 #2A35C7 #6D2AC7
triadic
#2A35C7 #C72A35 #35C72A
tetradic
#2A35C7 #C72A84 #C7BC2A #2AC76D
square
#2A35C7 #C72A84 #C7BC2A #2AC76D
split-complementary
#2A35C7 #C76D2A #84C72A
monochromatic
#151A62 #1F2894 #2A35C7 #535DDB #868DE5

Accessibility & contrast

On white

8.63
#2A35C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2A35C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A35C7
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A35C7#FFFFFF#000000##FFFFFF
##2A35C71.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CB
Deuteranopia (green-blind)
#0044C4
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a35c7;
/* rgb */ color: rgb(42, 53, 199);
/* oklch */ color: oklch(43.5% 0.220 269.9);
Tailwind
colors: {
  custom: {
    50: '#7f6ed9',
    500: '#2a35c7',
    950: '#000000',
  },
}
SCSS
$custom: #2a35c7;
$custom-light: #7f6ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a35c7",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 235.796,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43483,
    "c": 0.22009,
    "h": 269.9
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#2A35C7
secondary
#CFC97E
accent
#DC40E8
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2A35C7

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

Preview Lab → · Contrast checker → · Palette generator →

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