#2E52D3#2E52D3

#2E52D3 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 49.7% C 0.202 H 266.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#2E52D3
RGBrgb(46, 82, 211)
HSLhsl(227, 65%, 50%)
HSVhsv(227, 78%, 83%)
CMYKcmyk(78.2%, 61.1%, 0%, 17.3%)
CIE-LABlab(40.11, 33.64, -69.88)
CIE-LCHlch(40.11, 77.56, 295.70°)
OKLaboklab(49.65% -0.0119 -0.2021)
OKLCHoklch(49.65% 0.202 266.6)
XYZxyz(15.8978, 11.3167, 62.9619)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E52D3 #D3AF2E
analogous
#2EA4D3 #2E52D3 #5C2ED3
triadic
#2E52D3 #D32E52 #52D32E
tetradic
#2E52D3 #D32EA4 #D3AF2E #2ED35C
square
#2E52D3 #D32EA4 #D3AF2E #2ED35C
split-complementary
#2E52D3 #D35C2E #A4D32E
monochromatic
#172B6F #223EA2 #2E52D3 #617CDE #93A6E8

Accessibility & contrast

On white

6.43
#2E52D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2E52D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E52D3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E52D3#FFFFFF#000000##FFFFFF
##2E52D31.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0057D1
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e52d3;
/* rgb */ color: rgb(46, 82, 211);
/* oklch */ color: oklch(49.7% 0.202 266.6);
Tailwind
colors: {
  custom: {
    50: '#8182e2',
    500: '#2e52d3',
    950: '#000000',
  },
}
SCSS
$custom: #2e52d3;
$custom-light: #8182e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e52d3",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 226.909,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49652,
    "c": 0.20245,
    "h": 266.6
  },
  "luminance": 0.11319
}

Semantic roles & 50–950 ramp

primary
#2E52D3
secondary
#D3C38A
accent
#C340E8
background
#F8F7FE
surface
#F0EEFC
border
#CBC9D5
text
#0C0A15
muted
#7D7C84

Preview Lab

Preview with #2E52D3

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

Preview Lab → · Contrast checker → · Palette generator →

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