#2E529F#2E529F

#2E529F is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.132 H 263.3°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2E529F
RGBrgb(46, 82, 159)
HSLhsl(221, 55%, 40%)
HSVhsv(221, 71%, 62%)
CMYKcmyk(71.1%, 48.4%, 0%, 37.6%)
CIE-LABlab(36.21, 14.11, -45.68)
CIE-LCHlch(36.21, 47.81, 287.16°)
OKLaboklab(45.49% -0.0154 -0.131)
OKLCHoklch(45.49% 0.132 263.3)
XYZxyz(10.3998, 9.1176, 34.0059)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E529F #9F7B2E
analogous
#2E8A9F #2E529F #422E9F
triadic
#2E529F #9F2E52 #529F2E
tetradic
#2E529F #9F2E8A #9F7B2E #2E9F42
square
#2E529F #9F2E8A #9F7B2E #2E9F42
split-complementary
#2E529F #9F422E #8A9F2E
monochromatic
#132140 #203A70 #2E529F #426DC8 #7191D6

Accessibility & contrast

On white

7.44
#2E529F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2E529F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E529F
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E529F#FFFFFF#000000##FFFFFF
##2E529F1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295BA2
Deuteranopia (green-blind)
#0C509D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e529f;
/* rgb */ color: rgb(46, 82, 159);
/* oklch */ color: oklch(45.5% 0.132 263.3);
Tailwind
colors: {
  custom: {
    50: '#7582bc',
    500: '#2e529f',
    950: '#000000',
  },
}
SCSS
$custom: #2e529f;
$custom-light: #7582bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e529f",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 220.885,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45488,
    "c": 0.13187,
    "h": 263.3
  },
  "luminance": 0.09119
}

Semantic roles & 50–950 ramp

primary
#2E529F
secondary
#BEA36B
accent
#AF49DE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E529F

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

Preview Lab → · Contrast checker → · Palette generator →

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