#2E52B9#2E52B9

#2E52B9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.168 H 265.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2E52B9
RGBrgb(46, 82, 185)
HSLhsl(224, 60%, 45%)
HSVhsv(224, 75%, 73%)
CMYKcmyk(75.1%, 55.7%, 0%, 27.5%)
CIE-LABlab(38.05, 23.96, -58.13)
CIE-LCHlch(38.05, 62.88, 292.40°)
OKLaboklab(47.47% -0.0127 -0.1676)
OKLCHoklch(47.47% 0.168 265.7)
XYZxyz(12.8979, 10.1168, 47.1625)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E52B9 #B9952E
analogous
#2E98B9 #2E52B9 #4F2EB9
triadic
#2E52B9 #B92E52 #52B92E
tetradic
#2E52B9 #B92E98 #B9952E #2EB94F
square
#2E52B9 #B92E98 #B9952E #2EB94F
split-complementary
#2E52B9 #B94F2E #98B92E
monochromatic
#162757 #223C88 #2E52B9 #5173D4 #829AE0

Accessibility & contrast

On white

6.95
#2E52B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2E52B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E52B9
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E52B9#FFFFFF#000000##FFFFFF
##2E52B91.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e52b9;
/* rgb */ color: rgb(46, 82, 185);
/* oklch */ color: oklch(47.5% 0.168 265.7);
Tailwind
colors: {
  custom: {
    50: '#7b82cf',
    500: '#2e52b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e52b9;
$custom-light: #7b82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e52b9",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 185
  },
  "hsl": {
    "h": 224.46,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.16808,
    "h": 265.7
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#2E52B9
secondary
#C9B47A
accent
#BA44E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E52B9

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

Preview Lab → · Contrast checker → · Palette generator →

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