#2D35C7#2D35C7

#2D35C7 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.6% C 0.219 H 270.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2D35C7
RGBrgb(45, 53, 199)
HSLhsl(237, 63%, 48%)
HSVhsv(237, 77%, 78%)
CMYKcmyk(77.4%, 73.4%, 0%, 22%)
CIE-LABlab(32.32, 47.09, -75.73)
CIE-LCHlch(32.32, 89.18, 301.87°)
OKLaboklab(43.63% 0.0025 -0.2193)
OKLCHoklch(43.63% 0.219 270.7)
XYZxyz(12.6606, 7.2262, 54.7493)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35C7 #C7BF2D
analogous
#2D82C7 #2D35C7 #722DC7
triadic
#2D35C7 #C72D35 #35C72D
tetradic
#2D35C7 #C72D82 #C7BF2D #2DC772
square
#2D35C7 #C72D82 #C7BF2D #2DC772
split-complementary
#2D35C7 #C7722D #82C72D
monochromatic
#161A63 #222895 #2D35C7 #585FD9 #8A8FE5

Accessibility & contrast

On white

8.59
#2D35C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D35C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D35C7
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D35C7#FFFFFF#000000##FFFFFF
##2D35C71.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d35c7;
/* rgb */ color: rgb(45, 53, 199);
/* oklch */ color: oklch(43.6% 0.219 270.7);
Tailwind
colors: {
  custom: {
    50: '#806ed9',
    500: '#2d35c7',
    950: '#000000',
  },
}
SCSS
$custom: #2d35c7;
$custom-light: #806ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35c7",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 236.883,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43627,
    "c": 0.21932,
    "h": 270.7
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#2D35C7
secondary
#CECA81
accent
#DE42E6
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D35C7

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

Preview Lab → · Contrast checker → · Palette generator →

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