#2B529E#2B529E

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

Color values

HEX#2B529E
RGBrgb(43, 82, 158)
HSLhsl(220, 57%, 39%)
HSVhsv(220, 73%, 62%)
CMYKcmyk(72.8%, 48.1%, 0%, 38%)
CIE-LABlab(36.01, 13.27, -45.40)
CIE-LCHlch(36.01, 47.30, 286.30°)
OKLaboklab(45.28% -0.0181 -0.1302)
OKLCHoklch(45.28% 0.131 262.1)
XYZxyz(10.1829, 9.0157, 33.5447)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B529E #9E772B
analogous
#2B8C9E #2B529E #3D2B9E
triadic
#2B529E #9E2B52 #529E2B
tetradic
#2B529E #9E2B8C #9E772B #2B9E3D
square
#2B529E #9E2B8C #9E772B #2B9E3D
split-complementary
#2B529E #9E3D2B #8C9E2B
monochromatic
#11203E #1E396E #2B529E #3C6CCA #6C91D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B529E#FFFFFF#000000##FFFFFF
##2B529E1.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)
#295AA1
Deuteranopia (green-blind)
#0C509C
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b529e;
/* rgb */ color: rgb(43, 82, 158);
/* oklch */ color: oklch(45.3% 0.131 262.1);
Tailwind
colors: {
  custom: {
    50: '#7482bb',
    500: '#2b529e',
    950: '#000000',
  },
}
SCSS
$custom: #2b529e;
$custom-light: #7482bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b529e",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 158
  },
  "hsl": {
    "h": 219.652,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45281,
    "c": 0.13144,
    "h": 262.1
  },
  "luminance": 0.09017
}

Semantic roles & 50–950 ramp

primary
#2B529E
secondary
#BEA067
accent
#AD47E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B529E

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

Preview Lab → · Contrast checker → · Palette generator →

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