#2E35B2#2E35B2

#2E35B2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.193 H 271.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2E35B2
RGBrgb(46, 53, 178)
HSLhsl(237, 59%, 44%)
HSVhsv(237, 74%, 70%)
CMYKcmyk(74.2%, 70.2%, 0%, 30.2%)
CIE-LABlab(30.26, 40.03, -66.74)
CIE-LCHlch(30.26, 77.82, 300.95°)
OKLaboklab(41.53% 0.0065 -0.1931)
OKLCHoklch(41.53% 0.193 271.9)
XYZxyz(10.4330, 6.3403, 42.7848)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35B2 #B2AB2E
analogous
#2E77B2 #2E35B2 #692EB2
triadic
#2E35B2 #B22E35 #35B22E
tetradic
#2E35B2 #B22E77 #B2AB2E #2EB269
square
#2E35B2 #B22E77 #B2AB2E #2EB269
split-complementary
#2E35B2 #B2692E #77B22E
monochromatic
#151851 #212781 #2E35B2 #4C53D1 #7D82DD

Accessibility & contrast

On white

9.26
#2E35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2E35B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E35B2
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35B2#FFFFFF#000000##FFFFFF
##2E35B21.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e35b2;
/* rgb */ color: rgb(46, 53, 178);
/* oklch */ color: oklch(41.5% 0.193 271.9);
Tailwind
colors: {
  custom: {
    50: '#7b6dca',
    500: '#2e35b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e35b2;
$custom-light: #7b6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35b2",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 236.818,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41533,
    "c": 0.1932,
    "h": 271.9
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#2E35B2
secondary
#C6C276
accent
#DA46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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