#2E52C3#2E52C3

#2E52C3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.182 H 266.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2E52C3
RGBrgb(46, 82, 195)
HSLhsl(226, 62%, 47%)
HSVhsv(226, 76%, 76%)
CMYKcmyk(76.4%, 57.9%, 0%, 23.5%)
CIE-LABlab(38.82, 27.71, -62.73)
CIE-LCHlch(38.82, 68.58, 293.83°)
OKLaboklab(48.29% -0.0122 -0.1811)
OKLCHoklch(48.29% 0.182 266.2)
XYZxyz(13.9909, 10.5540, 52.9189)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E52C3 #C39F2E
analogous
#2E9DC3 #2E52C3 #542EC3
triadic
#2E52C3 #C32E52 #52C32E
tetradic
#2E52C3 #C32E9D #C39F2E #2EC354
square
#2E52C3 #C32E9D #C39F2E #2EC354
split-complementary
#2E52C3 #C3542E #9DC32E
monochromatic
#172860 #223D91 #2E52C3 #5776D7 #889EE3

Accessibility & contrast

On white

6.75
#2E52C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2E52C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E52C3
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E52C3#FFFFFF#000000##FFFFFF
##2E52C31.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e52c3;
/* rgb */ color: rgb(46, 82, 195);
/* oklch */ color: oklch(48.3% 0.182 266.2);
Tailwind
colors: {
  custom: {
    50: '#7d82d6',
    500: '#2e52c3',
    950: '#000000',
  },
}
SCSS
$custom: #2e52c3;
$custom-light: #7d82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e52c3",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 225.503,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48289,
    "c": 0.18153,
    "h": 266.2
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#2E52C3
secondary
#CDBA80
accent
#BE43E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E52C3

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

Preview Lab → · Contrast checker → · Palette generator →

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