#2E35E3#2E35E3

#2E35E3 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.7% C 0.252 H 269.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2E35E3
RGBrgb(46, 53, 227)
HSLhsl(238, 76%, 54%)
HSVhsv(238, 80%, 89%)
CMYKcmyk(79.7%, 76.7%, 0%, 11%)
CIE-LABlab(35.34, 56.26, -86.90)
CIE-LCHlch(35.34, 103.52, 302.92°)
OKLaboklab(46.66% -0.001 -0.2517)
OKLCHoklch(46.66% 0.252 269.8)
XYZxyz(16.2602, 8.6712, 73.4749)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35E3 #E3DC2E
analogous
#2E8FE3 #2E35E3 #822EE3
triadic
#2E35E3 #E32E35 #35E32E
tetradic
#2E35E3 #E32E8F #E3DC2E #2EE382
square
#2E35E3 #E32E8F #E3DC2E #2EE382
split-complementary
#2E35E3 #E3822E #8FE32E
monochromatic
#121685 #191FBB #2E35E3 #6469EA #9A9DF1

Accessibility & contrast

On white

7.68
#2E35E3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2E35E3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E35E3
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35E3#FFFFFF#000000##FFFFFF
##2E35E31.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE8
Deuteranopia (green-blind)
#004AE0
Tritanopia (blue-blind)
#006A8B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e35e3;
/* rgb */ color: rgb(46, 53, 227);
/* oklch */ color: oklch(46.7% 0.252 269.8);
Tailwind
colors: {
  custom: {
    50: '#876fed',
    500: '#2e35e3',
    950: '#000000',
  },
}
SCSS
$custom: #2e35e3;
$custom-light: #876fed;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35e3",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 227
  },
  "hsl": {
    "h": 237.68,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4666,
    "c": 0.25171,
    "h": 269.8
  },
  "luminance": 0.08673
}

Semantic roles & 50–950 ramp

primary
#2E35E3
secondary
#DDDA90
accent
#EC35F3
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2E35E3

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

Preview Lab → · Contrast checker → · Palette generator →

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