#2E52AE#2E52AE

#2E52AE is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.6% C 0.153 H 264.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2E52AE
RGBrgb(46, 82, 174)
HSLhsl(223, 58%, 43%)
HSVhsv(223, 74%, 68%)
CMYKcmyk(73.6%, 52.9%, 0%, 31.8%)
CIE-LABlab(37.24, 19.80, -52.95)
CIE-LCHlch(37.24, 56.53, 290.50°)
OKLaboklab(46.61% -0.0136 -0.1524)
OKLCHoklch(46.61% 0.153 264.9)
XYZxyz(11.7813, 9.6702, 41.2818)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E52AE #AE8A2E
analogous
#2E92AE #2E52AE #4A2EAE
triadic
#2E52AE #AE2E52 #52AE2E
tetradic
#2E52AE #AE2E92 #AE8A2E #2EAE4A
square
#2E52AE #AE2E92 #AE8A2E #2EAE4A
split-complementary
#2E52AE #AE4A2E #92AE2E
monochromatic
#14244D #213B7E #2E52AE #4A6FCF #7A96DC

Accessibility & contrast

On white

7.16
#2E52AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E52AE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E52AE#FFFFFF#000000##FFFFFF
##2E52AE1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125EB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e52ae;
/* rgb */ color: rgb(46, 82, 174);
/* oklch */ color: oklch(46.6% 0.153 264.9);
Tailwind
colors: {
  custom: {
    50: '#7882c7',
    500: '#2e52ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e52ae;
$custom-light: #7882c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e52ae",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 223.125,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46606,
    "c": 0.15297,
    "h": 264.9
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

primary
#2E52AE
secondary
#C4AE74
accent
#B646E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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