#2E52B6#2E52B6

#2E52B6 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.164 H 265.5°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2E52B6
RGBrgb(46, 82, 182)
HSLhsl(224, 60%, 45%)
HSVhsv(224, 75%, 71%)
CMYKcmyk(74.7%, 54.9%, 0%, 28.6%)
CIE-LABlab(37.83, 22.83, -56.73)
CIE-LCHlch(37.83, 61.15, 291.92°)
OKLaboklab(47.23% -0.0129 -0.1635)
OKLCHoklch(47.23% 0.164 265.5)
XYZxyz(12.5845, 9.9915, 45.5122)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E52B6 #B6922E
analogous
#2E96B6 #2E52B6 #4E2EB6
triadic
#2E52B6 #B62E52 #52B62E
tetradic
#2E52B6 #B62E96 #B6922E #2EB64E
square
#2E52B6 #B62E96 #B6922E #2EB64E
split-complementary
#2E52B6 #B64E2E #96B62E
monochromatic
#152654 #223C85 #2E52B6 #4F72D2 #8099DF

Accessibility & contrast

On white

7.00
#2E52B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2E52B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E52B6
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E52B6#FFFFFF#000000##FFFFFF
##2E52B61.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e52b6;
/* rgb */ color: rgb(46, 82, 182);
/* oklch */ color: oklch(47.2% 0.164 265.5);
Tailwind
colors: {
  custom: {
    50: '#7a82cd',
    500: '#2e52b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e52b6;
$custom-light: #7a82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e52b6",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 182
  },
  "hsl": {
    "h": 224.118,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47232,
    "c": 0.164,
    "h": 265.5
  },
  "luminance": 0.09993
}

Semantic roles & 50–950 ramp

primary
#2E52B6
secondary
#C8B378
accent
#B945E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #2E52B6

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

Preview Lab → · Contrast checker → · Palette generator →

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