#2E529B#2E529B

#2E529B is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.126 H 262.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2E529B
RGBrgb(46, 82, 155)
HSLhsl(220, 54%, 39%)
HSVhsv(220, 70%, 61%)
CMYKcmyk(70.3%, 47.1%, 0%, 39.2%)
CIE-LABlab(35.95, 12.59, -43.69)
CIE-LCHlch(35.95, 45.47, 286.07°)
OKLaboklab(45.2% -0.0161 -0.1251)
OKLCHoklch(45.2% 0.126 262.7)
XYZxyz(10.0583, 8.9810, 32.2074)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E529B #9B772E
analogous
#2E899B #2E529B #402E9B
triadic
#2E529B #9B2E52 #529B2E
tetradic
#2E529B #9B2E89 #9B772E #2E9B40
square
#2E529B #9B2E89 #9B772E #2E9B40
split-complementary
#2E529B #9B402E #899B2E
monochromatic
#12203D #20396C #2E529B #406CC6 #6F91D4

Accessibility & contrast

On white

7.51
#2E529B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E529B
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E529B#FFFFFF#000000##FFFFFF
##2E529B1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e529b;
/* rgb */ color: rgb(46, 82, 155);
/* oklch */ color: oklch(45.2% 0.126 262.7);
Tailwind
colors: {
  custom: {
    50: '#7482b9',
    500: '#2e529b',
    950: '#000000',
  },
}
SCSS
$custom: #2e529b;
$custom-light: #7482b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e529b",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 155
  },
  "hsl": {
    "h": 220.183,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45203,
    "c": 0.12615,
    "h": 262.7
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E529B

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

Preview Lab → · Contrast checker → · Palette generator →

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