#2E52AD#2E52AD

#2E52AD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.152 H 264.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2E52AD
RGBrgb(46, 82, 173)
HSLhsl(223, 58%, 43%)
HSVhsv(223, 73%, 68%)
CMYKcmyk(73.4%, 52.6%, 0%, 32.2%)
CIE-LABlab(37.17, 19.42, -52.48)
CIE-LCHlch(37.17, 55.96, 290.31°)
OKLaboklab(46.53% -0.0137 -0.151)
OKLCHoklch(46.53% 0.152 264.8)
XYZxyz(11.6842, 9.6313, 40.7703)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E52AD #AD892E
analogous
#2E91AD #2E52AD #492EAD
triadic
#2E52AD #AD2E52 #52AD2E
tetradic
#2E52AD #AD2E91 #AD892E #2EAD49
square
#2E52AD #AD2E91 #AD892E #2EAD49
split-complementary
#2E52AD #AD492E #91AD2E
monochromatic
#14244C #213B7D #2E52AD #496FCF #7A96DC

Accessibility & contrast

On white

7.18
#2E52AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2E52AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E52AD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E52AD#FFFFFF#000000##FFFFFF
##2E52AD1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155EB0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e52ad;
/* rgb */ color: rgb(46, 82, 173);
/* oklch */ color: oklch(46.5% 0.152 264.8);
Tailwind
colors: {
  custom: {
    50: '#7882c6',
    500: '#2e52ad',
    950: '#000000',
  },
}
SCSS
$custom: #2e52ad;
$custom-light: #7882c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e52ad",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 173
  },
  "hsl": {
    "h": 222.992,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46529,
    "c": 0.15159,
    "h": 264.8
  },
  "luminance": 0.09633
}

Semantic roles & 50–950 ramp

primary
#2E52AD
secondary
#C4AD73
accent
#B547E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E52AD

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

Preview Lab → · Contrast checker → · Palette generator →

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