#2E35D7#2E35D7

#2E35D7 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.4% C 0.238 H 270.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2E35D7
RGBrgb(46, 53, 215)
HSLhsl(238, 68%, 51%)
HSVhsv(238, 79%, 84%)
CMYKcmyk(78.6%, 75.3%, 0%, 15.7%)
CIE-LABlab(34.05, 52.43, -82.16)
CIE-LCHlch(34.05, 97.46, 302.54°)
OKLaboklab(45.37% 0.001 -0.238)
OKLCHoklch(45.37% 0.238 270.2)
XYZxyz(14.6614, 8.0317, 65.0544)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35D7 #D7D02E
analogous
#2E89D7 #2E35D7 #7B2ED7
triadic
#2E35D7 #D72E35 #35D72E
tetradic
#2E35D7 #D72E89 #D7D02E #2ED77B
square
#2E35D7 #D72E89 #D7D02E #2ED77B
split-complementary
#2E35D7 #D77B2E #89D72E
monochromatic
#161A74 #2026A8 #2E35D7 #6167E1 #9598EB

Accessibility & contrast

On white

8.06
#2E35D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2E35D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E35D7
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35D7#FFFFFF#000000##FFFFFF
##2E35D71.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058DC
Deuteranopia (green-blind)
#0047D4
Tritanopia (blue-blind)
#006584
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e35d7;
/* rgb */ color: rgb(46, 53, 215);
/* oklch */ color: oklch(45.4% 0.238 270.2);
Tailwind
colors: {
  custom: {
    50: '#846ee5',
    500: '#2e35d7',
    950: '#000000',
  },
}
SCSS
$custom: #2e35d7;
$custom-light: #846ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35d7",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 215
  },
  "hsl": {
    "h": 237.515,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45367,
    "c": 0.23796,
    "h": 270.2
  },
  "luminance": 0.08033
}

Semantic roles & 50–950 ramp

primary
#2E35D7
secondary
#D6D38B
accent
#E43DEB
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #2E35D7

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

Preview Lab → · Contrast checker → · Palette generator →

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