#2E35B1#2E35B1

#2E35B1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.192 H 272.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2E35B1
RGBrgb(46, 53, 177)
HSLhsl(237, 59%, 44%)
HSVhsv(237, 74%, 69%)
CMYKcmyk(74%, 70.1%, 0%, 30.6%)
CIE-LABlab(30.16, 39.68, -66.30)
CIE-LCHlch(30.16, 77.27, 300.90°)
OKLaboklab(41.43% 0.0067 -0.1918)
OKLCHoklch(41.43% 0.192 272)
XYZxyz(10.3329, 6.3003, 42.2580)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35B1 #B1AA2E
analogous
#2E76B1 #2E35B1 #682EB1
triadic
#2E35B1 #B12E35 #35B12E
tetradic
#2E35B1 #B12E76 #B1AA2E #2EB168
square
#2E35B1 #B12E76 #B1AA2E #2EB168
split-complementary
#2E35B1 #B1682E #76B12E
monochromatic
#151850 #212680 #2E35B1 #4C53D0 #7C82DD

Accessibility & contrast

On white

9.29
#2E35B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2E35B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E35B1
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35B1#FFFFFF#000000##FFFFFF
##2E35B11.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e35b1;
/* rgb */ color: rgb(46, 53, 177);
/* oklch */ color: oklch(41.4% 0.192 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b6dc9',
    500: '#2e35b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e35b1;
$custom-light: #7b6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35b1",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 236.794,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41433,
    "c": 0.19194,
    "h": 272
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#2E35B1
secondary
#C6C175
accent
#DA46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E35B1

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

Preview Lab → · Contrast checker → · Palette generator →

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