#2E35A3#2E35A3

#2E35A3 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.174 H 272.7°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2E35A3
RGBrgb(46, 53, 163)
HSLhsl(236, 56%, 41%)
HSVhsv(236, 72%, 64%)
CMYKcmyk(71.8%, 67.5%, 0%, 36.1%)
CIE-LABlab(28.83, 34.75, -60.09)
CIE-LCHlch(28.83, 69.41, 300.05°)
OKLaboklab(40.06% 0.0082 -0.1736)
OKLCHoklch(40.06% 0.174 272.7)
XYZxyz(9.0085, 5.7705, 35.2823)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35A3 #A39C2E
analogous
#2E6FA3 #2E35A3 #612EA3
triadic
#2E35A3 #A32E35 #35A32E
tetradic
#2E35A3 #A32E6F #A39C2E #2EA361
square
#2E35A3 #A32E6F #A39C2E #2EA361
split-complementary
#2E35A3 #A3612E #6FA32E
monochromatic
#131644 #212573 #2E35A3 #444CCA #747AD8

Accessibility & contrast

On white

9.75
#2E35A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2E35A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E35A3
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35A3#FFFFFF#000000##FFFFFF
##2E35A31.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e35a3;
/* rgb */ color: rgb(46, 53, 163);
/* oklch */ color: oklch(40.1% 0.174 272.7);
Tailwind
colors: {
  custom: {
    50: '#786cbf',
    500: '#2e35a3',
    950: '#000000',
  },
}
SCSS
$custom: #2e35a3;
$custom-light: #786cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35a3",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 236.41,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40064,
    "c": 0.17384,
    "h": 272.7
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#2E35A3
secondary
#BFBA6D
accent
#D649DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E35A3

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

Preview Lab → · Contrast checker → · Palette generator →

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