#2E32B2#2E32B2

#2E32B2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.196 H 272.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2E32B2
RGBrgb(46, 50, 178)
HSLhsl(238, 59%, 44%)
HSVhsv(238, 74%, 70%)
CMYKcmyk(74.2%, 71.9%, 0%, 30.2%)
CIE-LABlab(29.60, 41.82, -67.82)
CIE-LCHlch(29.60, 79.68, 301.66°)
OKLaboklab(41.06% 0.0081 -0.1962)
OKLCHoklch(41.06% 0.196 272.4)
XYZxyz(10.3005, 6.0753, 42.7406)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E32B2 #B2AE2E
analogous
#2E74B2 #2E32B2 #6C2EB2
triadic
#2E32B2 #B22E32 #32B22E
tetradic
#2E32B2 #B22E74 #B2AE2E #2EB26C
square
#2E32B2 #B22E74 #B2AE2E #2EB26C
split-complementary
#2E32B2 #B26C2E #74B22E
monochromatic
#151751 #212481 #2E32B2 #4C50D1 #7D80DD

Accessibility & contrast

On white

9.48
#2E32B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E32B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E32B2
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E32B2#FFFFFF#000000##FFFFFF
##2E32B21.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e32b2;
/* rgb */ color: rgb(46, 50, 178);
/* oklch */ color: oklch(41.1% 0.196 272.4);
Tailwind
colors: {
  custom: {
    50: '#7c6bca',
    500: '#2e32b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e32b2;
$custom-light: #7c6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e32b2",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 238.182,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41063,
    "c": 0.19639,
    "h": 272.4
  },
  "luminance": 0.06076
}

Semantic roles & 50–950 ramp

primary
#2E32B2
secondary
#C6C476
accent
#DD46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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