#2E35AB#2E35AB

#2E35AB is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.184 H 272.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2E35AB
RGBrgb(46, 53, 171)
HSLhsl(237, 58%, 43%)
HSVhsv(237, 73%, 67%)
CMYKcmyk(73.1%, 69%, 0%, 32.9%)
CIE-LABlab(29.58, 37.58, -63.67)
CIE-LCHlch(29.58, 73.93, 300.55°)
OKLaboklab(40.84% 0.0074 -0.1841)
OKLCHoklch(40.84% 0.184 272.3)
XYZxyz(9.7480, 6.0663, 39.1774)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35AB #ABA42E
analogous
#2E73AB #2E35AB #652EAB
triadic
#2E35AB #AB2E35 #35AB2E
tetradic
#2E35AB #AB2E73 #ABA42E #2EAB65
square
#2E35AB #AB2E73 #ABA42E #2EAB65
split-complementary
#2E35AB #AB652E #73AB2E
monochromatic
#14174B #21267B #2E35AB #4850CE #797EDB

Accessibility & contrast

On white

9.49
#2E35AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2E35AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E35AB
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35AB#FFFFFF#000000##FFFFFF
##2E35AB1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e35ab;
/* rgb */ color: rgb(46, 53, 171);
/* oklch */ color: oklch(40.8% 0.184 272.3);
Tailwind
colors: {
  custom: {
    50: '#7a6dc5',
    500: '#2e35ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e35ab;
$custom-light: #7a6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35ab",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 236.64,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4084,
    "c": 0.18427,
    "h": 272.3
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#2E35AB
secondary
#C3BE72
accent
#D847E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E35AB

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

Preview Lab → · Contrast checker → · Palette generator →

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