#2E32B7#2E32B7

#2E32B7 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.6% C 0.203 H 272.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2E32B7
RGBrgb(46, 50, 183)
HSLhsl(238, 60%, 45%)
HSVhsv(238, 75%, 72%)
CMYKcmyk(74.9%, 72.7%, 0%, 28.2%)
CIE-LABlab(30.11, 43.52, -69.96)
CIE-LCHlch(30.11, 82.39, 301.89°)
OKLaboklab(41.58% 0.0074 -0.2025)
OKLCHoklch(41.58% 0.203 272.1)
XYZxyz(10.8117, 6.2798, 45.4329)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E32B7 #B7B32E
analogous
#2E77B7 #2E32B7 #6E2EB7
triadic
#2E32B7 #B72E32 #32B72E
tetradic
#2E32B7 #B72E77 #B7B32E #2EB76E
square
#2E32B7 #B72E77 #B7B32E #2EB76E
split-complementary
#2E32B7 #B76E2E #77B72E
monochromatic
#151755 #222586 #2E32B7 #4F53D3 #8083DF

Accessibility & contrast

On white

9.31
#2E32B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2E32B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E32B7
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E32B7#FFFFFF#000000##FFFFFF
##2E32B71.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#0040B5
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e32b7;
/* rgb */ color: rgb(46, 50, 183);
/* oklch */ color: oklch(41.6% 0.203 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d6bce',
    500: '#2e32b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e32b7;
$custom-light: #7d6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e32b7",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 238.248,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41577,
    "c": 0.20259,
    "h": 272.1
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#2E32B7
secondary
#C8C679
accent
#DE45E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E32B7

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

Preview Lab → · Contrast checker → · Palette generator →

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