#2E52AC#2E52AC

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

Color values

HEX#2E52AC
RGBrgb(46, 82, 172)
HSLhsl(223, 58%, 43%)
HSVhsv(223, 73%, 67%)
CMYKcmyk(73.3%, 52.3%, 0%, 32.5%)
CIE-LABlab(37.10, 19.04, -52.00)
CIE-LCHlch(37.10, 55.38, 290.11°)
OKLaboklab(46.45% -0.0138 -0.1496)
OKLCHoklch(46.45% 0.15 264.7)
XYZxyz(11.5878, 9.5928, 40.2626)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E52AC #AC882E
analogous
#2E91AC #2E52AC #492EAC
triadic
#2E52AC #AC2E52 #52AC2E
tetradic
#2E52AC #AC2E91 #AC882E #2EAC49
square
#2E52AC #AC2E91 #AC882E #2EAC49
split-complementary
#2E52AC #AC492E #91AC2E
monochromatic
#14244B #213B7C #2E52AC #496FCE #7995DB

Accessibility & contrast

On white

7.19
#2E52AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2E52AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E52AC
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E52AC#FFFFFF#000000##FFFFFF
##2E52AC1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175DAF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e52ac;
/* rgb */ color: rgb(46, 82, 172);
/* oklch */ color: oklch(46.5% 0.150 264.7);
Tailwind
colors: {
  custom: {
    50: '#7882c5',
    500: '#2e52ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e52ac;
$custom-light: #7882c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e52ac",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 222.857,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46452,
    "c": 0.15019,
    "h": 264.7
  },
  "luminance": 0.09594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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