#2E52C8#2E52C8

#2E52C8 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.188 H 266.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2E52C8
RGBrgb(46, 82, 200)
HSLhsl(226, 63%, 48%)
HSVhsv(226, 77%, 78%)
CMYKcmyk(77%, 59%, 0%, 21.6%)
CIE-LABlab(39.21, 29.58, -64.99)
CIE-LCHlch(39.21, 71.41, 294.47°)
OKLaboklab(48.71% -0.012 -0.1878)
OKLCHoklch(48.71% 0.188 266.3)
XYZxyz(14.5657, 10.7839, 55.9462)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E52C8 #C8A42E
analogous
#2E9FC8 #2E52C8 #572EC8
triadic
#2E52C8 #C82E52 #52C82E
tetradic
#2E52C8 #C82E9F #C8A42E #2EC857
square
#2E52C8 #C82E9F #C8A42E #2EC857
split-complementary
#2E52C8 #C8572E #9FC82E
monochromatic
#172964 #233E96 #2E52C8 #5A78D9 #8CA1E5

Accessibility & contrast

On white

6.65
#2E52C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2E52C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E52C8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E52C8#FFFFFF#000000##FFFFFF
##2E52C81.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e52c8;
/* rgb */ color: rgb(46, 82, 200);
/* oklch */ color: oklch(48.7% 0.188 266.3);
Tailwind
colors: {
  custom: {
    50: '#7e82da',
    500: '#2e52c8',
    950: '#000000',
  },
}
SCSS
$custom: #2e52c8;
$custom-light: #7e82da;
$custom-dark: #000000;
JSON
{
  "hex": "#2e52c8",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 225.974,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48708,
    "c": 0.18814,
    "h": 266.3
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#2E52C8
secondary
#CFBD83
accent
#BF42E6
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2E52C8

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

Preview Lab → · Contrast checker → · Palette generator →

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