#2E32B9#2E32B9

#2E32B9 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.8% C 0.205 H 272.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2E32B9
RGBrgb(46, 50, 185)
HSLhsl(238, 60%, 45%)
HSVhsv(238, 75%, 73%)
CMYKcmyk(75.1%, 73%, 0%, 27.5%)
CIE-LABlab(30.31, 44.20, -70.80)
CIE-LCHlch(30.31, 83.47, 301.97°)
OKLaboklab(41.78% 0.0071 -0.2049)
OKLCHoklch(41.78% 0.205 272)
XYZxyz(11.0213, 6.3637, 46.5370)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E32B9 #B9B52E
analogous
#2E78B9 #2E32B9 #6F2EB9
triadic
#2E32B9 #B92E32 #32B92E
tetradic
#2E32B9 #B92E78 #B9B52E #2EB96F
square
#2E32B9 #B92E78 #B9B52E #2EB96F
split-complementary
#2E32B9 #B96F2E #78B92E
monochromatic
#161857 #222588 #2E32B9 #5154D4 #8284E0

Accessibility & contrast

On white

9.24
#2E32B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2E32B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E32B9
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E32B9#FFFFFF#000000##FFFFFF
##2E32B91.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBD
Deuteranopia (green-blind)
#0041B7
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e32b9;
/* rgb */ color: rgb(46, 50, 185);
/* oklch */ color: oklch(41.8% 0.205 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d6bcf',
    500: '#2e32b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e32b9;
$custom-light: #7d6bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e32b9",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 238.273,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41783,
    "c": 0.20505,
    "h": 272
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#2E32B9
secondary
#C9C77A
accent
#DF44E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E32B9

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

Preview Lab → · Contrast checker → · Palette generator →

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