#2E52B0#2E52B0

#2E52B0 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.8% C 0.156 H 265.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2E52B0
RGBrgb(46, 82, 176)
HSLhsl(223, 59%, 44%)
HSVhsv(223, 74%, 69%)
CMYKcmyk(73.9%, 53.4%, 0%, 31%)
CIE-LABlab(37.39, 20.56, -53.91)
CIE-LCHlch(37.39, 57.69, 290.88°)
OKLaboklab(46.76% -0.0134 -0.1552)
OKLCHoklch(46.76% 0.156 265.1)
XYZxyz(11.9777, 9.7487, 42.3163)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E52B0 #B08C2E
analogous
#2E93B0 #2E52B0 #4B2EB0
triadic
#2E52B0 #B02E52 #52B02E
tetradic
#2E52B0 #B02E93 #B08C2E #2EB04B
square
#2E52B0 #B02E93 #B08C2E #2EB04B
split-complementary
#2E52B0 #B04B2E #93B02E
monochromatic
#15254F #213B7F #2E52B0 #4B70D0 #7C97DD

Accessibility & contrast

On white

7.12
#2E52B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2E52B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E52B0
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E52B0#FFFFFF#000000##FFFFFF
##2E52B01.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5EB3
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e52b0;
/* rgb */ color: rgb(46, 82, 176);
/* oklch */ color: oklch(46.8% 0.156 265.1);
Tailwind
colors: {
  custom: {
    50: '#7982c8',
    500: '#2e52b0',
    950: '#000000',
  },
}
SCSS
$custom: #2e52b0;
$custom-light: #7982c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e52b0",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 176
  },
  "hsl": {
    "h": 223.385,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4676,
    "c": 0.15575,
    "h": 265.1
  },
  "luminance": 0.0975
}

Semantic roles & 50–950 ramp

primary
#2E52B0
secondary
#C5AF75
accent
#B746E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E52B0

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

Preview Lab → · Contrast checker → · Palette generator →

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