#2E52BD#2E52BD

#2E52BD is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.173 H 265.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2E52BD
RGBrgb(46, 82, 189)
HSLhsl(225, 61%, 46%)
HSVhsv(225, 76%, 74%)
CMYKcmyk(75.7%, 56.6%, 0%, 25.9%)
CIE-LABlab(38.35, 25.46, -59.98)
CIE-LCHlch(38.35, 65.17, 293.00°)
OKLaboklab(47.8% -0.0124 -0.173)
OKLCHoklch(47.8% 0.174 265.9)
XYZxyz(13.3261, 10.2881, 49.4177)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E52BD #BD992E
analogous
#2E99BD #2E52BD #512EBD
triadic
#2E52BD #BD2E52 #52BD2E
tetradic
#2E52BD #BD2E99 #BD992E #2EBD51
square
#2E52BD #BD2E99 #BD992E #2EBD51
split-complementary
#2E52BD #BD512E #99BD2E
monochromatic
#16275B #223D8C #2E52BD #5374D5 #849CE1

Accessibility & contrast

On white

6.87
#2E52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2E52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E52BD
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E52BD#FFFFFF#000000##FFFFFF
##2E52BD1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e52bd;
/* rgb */ color: rgb(46, 82, 189);
/* oklch */ color: oklch(47.8% 0.173 265.9);
Tailwind
colors: {
  custom: {
    50: '#7c82d2',
    500: '#2e52bd',
    950: '#000000',
  },
}
SCSS
$custom: #2e52bd;
$custom-light: #7c82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e52bd",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 224.895,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47795,
    "c": 0.1735,
    "h": 265.9
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#2E52BD
secondary
#CAB77C
accent
#BC44E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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