#2E529D#2E529D

#2E529D is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.3% C 0.129 H 263.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2E529D
RGBrgb(46, 82, 157)
HSLhsl(221, 55%, 40%)
HSVhsv(221, 71%, 62%)
CMYKcmyk(70.7%, 47.8%, 0%, 38.4%)
CIE-LABlab(36.08, 13.35, -44.69)
CIE-LCHlch(36.08, 46.64, 286.63°)
OKLaboklab(45.34% -0.0157 -0.128)
OKLCHoklch(45.34% 0.129 263)
XYZxyz(10.2277, 9.0487, 33.0993)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E529D #9D792E
analogous
#2E899D #2E529D #422E9D
triadic
#2E529D #9D2E52 #529D2E
tetradic
#2E529D #9D2E89 #9D792E #2E9D42
square
#2E529D #9D2E89 #9D792E #2E9D42
split-complementary
#2E529D #9D422E #899D2E
monochromatic
#12213E #20396E #2E529D #416CC7 #7091D5

Accessibility & contrast

On white

7.47
#2E529D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2E529D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E529D
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E529D#FFFFFF#000000##FFFFFF
##2E529D1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5AA0
Deuteranopia (green-blind)
#11509B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e529d;
/* rgb */ color: rgb(46, 82, 157);
/* oklch */ color: oklch(45.3% 0.129 263.0);
Tailwind
colors: {
  custom: {
    50: '#7582ba',
    500: '#2e529d',
    950: '#000000',
  },
}
SCSS
$custom: #2e529d;
$custom-light: #7582ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e529d",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 220.541,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45344,
    "c": 0.12901,
    "h": 263
  },
  "luminance": 0.0905
}

Semantic roles & 50–950 ramp

primary
#2E529D
secondary
#BDA26A
accent
#AE4ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E529D

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

Preview Lab → · Contrast checker → · Palette generator →

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