#2E529A#2E529A

#2E529A is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.125 H 262.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2E529A
RGBrgb(46, 82, 154)
HSLhsl(220, 54%, 39%)
HSVhsv(220, 70%, 60%)
CMYKcmyk(70.1%, 46.8%, 0%, 39.6%)
CIE-LABlab(35.88, 12.21, -43.19)
CIE-LCHlch(35.88, 44.89, 285.78°)
OKLaboklab(45.13% -0.0162 -0.1237)
OKLCHoklch(45.13% 0.125 262.5)
XYZxyz(9.9747, 8.9475, 31.7670)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E529A #9A762E
analogous
#2E889A #2E529A #402E9A
triadic
#2E529A #9A2E52 #529A2E
tetradic
#2E529A #9A2E88 #9A762E #2E9A40
square
#2E529A #9A2E88 #9A762E #2E9A40
split-complementary
#2E529A #9A402E #889A2E
monochromatic
#12203C #20396B #2E529A #3F6CC6 #6F90D4

Accessibility & contrast

On white

7.53
#2E529A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2E529A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E529A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E529A#FFFFFF#000000##FFFFFF
##2E529A1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9D
Deuteranopia (green-blind)
#185099
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e529a;
/* rgb */ color: rgb(46, 82, 154);
/* oklch */ color: oklch(45.1% 0.125 262.5);
Tailwind
colors: {
  custom: {
    50: '#7482b8',
    500: '#2e529a',
    950: '#000000',
  },
}
SCSS
$custom: #2e529a;
$custom-light: #7482b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e529a",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 154
  },
  "hsl": {
    "h": 220,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45132,
    "c": 0.12472,
    "h": 262.5
  },
  "luminance": 0.08949
}

Semantic roles & 50–950 ramp

primary
#2E529A
secondary
#BBA069
accent
#AC4ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E529A

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

Preview Lab → · Contrast checker → · Palette generator →

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