#2E52AA#2E52AA

#2E52AA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.3% C 0.147 H 264.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2E52AA
RGBrgb(46, 82, 170)
HSLhsl(223, 57%, 42%)
HSVhsv(223, 73%, 67%)
CMYKcmyk(72.9%, 51.8%, 0%, 33.3%)
CIE-LABlab(36.96, 18.28, -51.04)
CIE-LCHlch(36.96, 54.21, 289.71°)
OKLaboklab(46.3% -0.014 -0.1467)
OKLCHoklch(46.3% 0.147 264.6)
XYZxyz(11.3971, 9.5165, 39.2586)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E52AA #AA862E
analogous
#2E90AA #2E52AA #482EAA
triadic
#2E52AA #AA2E52 #52AA2E
tetradic
#2E52AA #AA2E90 #AA862E #2EAA48
square
#2E52AA #AA2E90 #AA862E #2EAA48
split-complementary
#2E52AA #AA482E #90AA2E
monochromatic
#14244A #213B7A #2E52AA #486FCD #7895DA

Accessibility & contrast

On white

7.23
#2E52AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2E52AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E52AA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E52AA#FFFFFF#000000##FFFFFF
##2E52AA1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5DAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e52aa;
/* rgb */ color: rgb(46, 82, 170);
/* oklch */ color: oklch(46.3% 0.147 264.6);
Tailwind
colors: {
  custom: {
    50: '#7782c4',
    500: '#2e52aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e52aa;
$custom-light: #7782c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e52aa",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 222.581,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.463,
    "c": 0.1474,
    "h": 264.6
  },
  "luminance": 0.09518
}

Semantic roles & 50–950 ramp

primary
#2E52AA
secondary
#C3AB71
accent
#B447E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E52AA

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

Preview Lab → · Contrast checker → · Palette generator →

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