#2E32A2#2E32A2

#2E32A2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.176 H 273.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2E32A2
RGBrgb(46, 50, 162)
HSLhsl(238, 56%, 41%)
HSVhsv(238, 72%, 64%)
CMYKcmyk(71.6%, 69.1%, 0%, 36.5%)
CIE-LABlab(28.03, 36.28, -60.78)
CIE-LCHlch(28.03, 70.79, 300.83°)
OKLaboklab(39.46% 0.0103 -0.1757)
OKLCHoklch(39.46% 0.176 273.3)
XYZxyz(8.7867, 5.4698, 34.7681)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E32A2 #A29E2E
analogous
#2E6CA2 #2E32A2 #642EA2
triadic
#2E32A2 #A22E32 #32A22E
tetradic
#2E32A2 #A22E6C #A29E2E #2EA264
square
#2E32A2 #A22E6C #A29E2E #2EA264
split-complementary
#2E32A2 #A2642E #6CA22E
monochromatic
#131543 #202372 #2E32A2 #4348CA #7377D7

Accessibility & contrast

On white

10.03
#2E32A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2E32A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E32A2
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E32A2#FFFFFF#000000##FFFFFF
##2E32A21.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e32a2;
/* rgb */ color: rgb(46, 50, 162);
/* oklch */ color: oklch(39.5% 0.176 273.3);
Tailwind
colors: {
  custom: {
    50: '#786abf',
    500: '#2e32a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e32a2;
$custom-light: #786abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e32a2",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 237.931,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39461,
    "c": 0.17599,
    "h": 273.3
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#2E32A2
secondary
#BFBC6D
accent
#DA49DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E32A2

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

Preview Lab → · Contrast checker → · Palette generator →

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