#2E35AE#2E35AE

#2E35AE is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.188 H 272.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2E35AE
RGBrgb(46, 53, 174)
HSLhsl(237, 58%, 43%)
HSVhsv(237, 74%, 68%)
CMYKcmyk(73.6%, 69.5%, 0%, 31.8%)
CIE-LABlab(29.87, 38.63, -64.99)
CIE-LCHlch(29.87, 75.61, 300.73°)
OKLaboklab(41.14% 0.007 -0.188)
OKLCHoklch(41.14% 0.188 272.1)
XYZxyz(10.0372, 6.1820, 40.7005)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35AE #AEA72E
analogous
#2E75AE #2E35AE #672EAE
triadic
#2E35AE #AE2E35 #35AE2E
tetradic
#2E35AE #AE2E75 #AEA72E #2EAE67
square
#2E35AE #AE2E75 #AEA72E #2EAE67
split-complementary
#2E35AE #AE672E #75AE2E
monochromatic
#14184D #21267E #2E35AE #4A51CF #7A80DC

Accessibility & contrast

On white

9.39
#2E35AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E35AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E35AE
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35AE#FFFFFF#000000##FFFFFF
##2E35AE1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e35ae;
/* rgb */ color: rgb(46, 53, 174);
/* oklch */ color: oklch(41.1% 0.188 272.1);
Tailwind
colors: {
  custom: {
    50: '#7a6dc7',
    500: '#2e35ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e35ae;
$custom-light: #7a6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35ae",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 236.719,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41135,
    "c": 0.18812,
    "h": 272.1
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#2E35AE
secondary
#C4C074
accent
#D946E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E35AE

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

Preview Lab → · Contrast checker → · Palette generator →

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