#2D35C4#2D35C4

#2D35C4 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.3% C 0.216 H 270.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2D35C4
RGBrgb(45, 53, 196)
HSLhsl(237, 63%, 47%)
HSVhsv(237, 77%, 77%)
CMYKcmyk(77%, 73%, 0%, 23.1%)
CIE-LABlab(32.01, 46.09, -74.49)
CIE-LCHlch(32.01, 87.59, 301.75°)
OKLaboklab(43.32% 0.003 -0.2157)
OKLCHoklch(43.32% 0.216 270.8)
XYZxyz(12.3157, 7.0883, 52.9329)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35C4 #C4BC2D
analogous
#2D81C4 #2D35C4 #702DC4
triadic
#2D35C4 #C42D35 #35C42D
tetradic
#2D35C4 #C42D81 #C4BC2D #2DC470
square
#2D35C4 #C42D81 #C4BC2D #2DC470
split-complementary
#2D35C4 #C4702D #81C42D
monochromatic
#161A60 #222892 #2D35C4 #565DD8 #888DE4

Accessibility & contrast

On white

8.68
#2D35C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2D35C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D35C4
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D35C4#FFFFFF#000000##FFFFFF
##2D35C41.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0044C1
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d35c4;
/* rgb */ color: rgb(45, 53, 196);
/* oklch */ color: oklch(43.3% 0.216 270.8);
Tailwind
colors: {
  custom: {
    50: '#7f6ed7',
    500: '#2d35c4',
    950: '#000000',
  },
}
SCSS
$custom: #2d35c4;
$custom-light: #7f6ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35c4",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 236.821,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43315,
    "c": 0.21571,
    "h": 270.8
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#2D35C4
secondary
#CDC980
accent
#DD42E6
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D35C4

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

Preview Lab → · Contrast checker → · Palette generator →

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