#2B539D#2B539D

#2B539D is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.129 H 261.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2B539D
RGBrgb(43, 83, 157)
HSLhsl(219, 57%, 39%)
HSVhsv(219, 73%, 62%)
CMYKcmyk(72.6%, 47.1%, 0%, 38.4%)
CIE-LABlab(36.24, 12.23, -44.44)
CIE-LCHlch(36.24, 46.09, 285.38°)
OKLaboklab(45.43% -0.0191 -0.1273)
OKLCHoklch(45.43% 0.129 261.4)
XYZxyz(10.1731, 9.1333, 33.1185)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B539D #9D752B
analogous
#2B8C9D #2B539D #3C2B9D
triadic
#2B539D #9D2B53 #539D2B
tetradic
#2B539D #9D2B8C #9D752B #2B9D3C
square
#2B539D #9D2B8C #9D752B #2B9D3C
split-complementary
#2B539D #9D3C2B #8C9D2B
monochromatic
#11203D #1E3A6D #2B539D #3C6DCA #6C91D7

Accessibility & contrast

On white

7.43
#2B539D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2B539D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B539D
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B539D#FFFFFF#000000##FFFFFF
##2B539D1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b539d;
/* rgb */ color: rgb(43, 83, 157);
/* oklch */ color: oklch(45.4% 0.129 261.4);
Tailwind
colors: {
  custom: {
    50: '#7382ba',
    500: '#2b539d',
    950: '#000000',
  },
}
SCSS
$custom: #2b539d;
$custom-light: #7382ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b539d",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 157
  },
  "hsl": {
    "h": 218.947,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45433,
    "c": 0.12877,
    "h": 261.4
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#2B539D
secondary
#BD9F66
accent
#AB48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B539D

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

Preview Lab → · Contrast checker → · Palette generator →

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