#2E529C#2E529C

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

Color values

HEX#2E529C
RGBrgb(46, 82, 156)
HSLhsl(220, 54%, 40%)
HSVhsv(220, 71%, 61%)
CMYKcmyk(70.5%, 47.4%, 0%, 38.8%)
CIE-LABlab(36.01, 12.97, -44.19)
CIE-LCHlch(36.01, 46.05, 286.35°)
OKLaboklab(45.27% -0.0159 -0.1266)
OKLCHoklch(45.27% 0.128 262.8)
XYZxyz(10.1426, 9.0147, 32.6515)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E529C #9C782E
analogous
#2E899C #2E529C #412E9C
triadic
#2E529C #9C2E52 #529C2E
tetradic
#2E529C #9C2E89 #9C782E #2E9C41
square
#2E529C #9C2E89 #9C782E #2E9C41
split-complementary
#2E529C #9C412E #899C2E
monochromatic
#12203D #20396D #2E529C #406CC7 #7091D5

Accessibility & contrast

On white

7.49
#2E529C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2E529C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E529C
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E529C#FFFFFF#000000##FFFFFF
##2E529C1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9F
Deuteranopia (green-blind)
#14509A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e529c;
/* rgb */ color: rgb(46, 82, 156);
/* oklch */ color: oklch(45.3% 0.128 262.8);
Tailwind
colors: {
  custom: {
    50: '#7482ba',
    500: '#2e529c',
    950: '#000000',
  },
}
SCSS
$custom: #2e529c;
$custom-light: #7482ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e529c",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 220.364,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45273,
    "c": 0.12758,
    "h": 262.8
  },
  "luminance": 0.09016
}

Semantic roles & 50–950 ramp

primary
#2E529C
secondary
#BCA16A
accent
#AD4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E529C

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

Preview Lab → · Contrast checker → · Palette generator →

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