#2E52B4#2E52B4

#2E52B4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.161 H 265.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2E52B4
RGBrgb(46, 82, 180)
HSLhsl(224, 59%, 44%)
HSVhsv(224, 74%, 71%)
CMYKcmyk(74.4%, 54.4%, 0%, 29.4%)
CIE-LABlab(37.68, 22.07, -55.79)
CIE-LCHlch(37.68, 60.00, 291.58°)
OKLaboklab(47.07% -0.013 -0.1607)
OKLCHoklch(47.07% 0.161 265.4)
XYZxyz(12.3793, 9.9094, 44.4314)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E52B4 #B4902E
analogous
#2E95B4 #2E52B4 #4D2EB4
triadic
#2E52B4 #B42E52 #52B42E
tetradic
#2E52B4 #B42E95 #B4902E #2EB44D
square
#2E52B4 #B42E95 #B4902E #2EB44D
split-complementary
#2E52B4 #B44D2E #95B42E
monochromatic
#152653 #223C83 #2E52B4 #4E71D2 #7E98DE

Accessibility & contrast

On white

7.04
#2E52B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2E52B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E52B4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E52B4#FFFFFF#000000##FFFFFF
##2E52B41.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e52b4;
/* rgb */ color: rgb(46, 82, 180);
/* oklch */ color: oklch(47.1% 0.161 265.4);
Tailwind
colors: {
  custom: {
    50: '#7a82cb',
    500: '#2e52b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e52b4;
$custom-light: #7a82cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e52b4",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 223.881,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47073,
    "c": 0.16126,
    "h": 265.4
  },
  "luminance": 0.09911
}

Semantic roles & 50–950 ramp

primary
#2E52B4
secondary
#C7B177
accent
#B845E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E52B4

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

Preview Lab → · Contrast checker → · Palette generator →

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