#2B539E#2B539E

#2B539E is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.5% C 0.130 H 261.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2B539E
RGBrgb(43, 83, 158)
HSLhsl(219, 57%, 39%)
HSVhsv(219, 73%, 62%)
CMYKcmyk(72.8%, 47.5%, 0%, 38%)
CIE-LABlab(36.30, 12.61, -44.93)
CIE-LCHlch(36.30, 46.67, 285.68°)
OKLaboklab(45.5% -0.019 -0.1288)
OKLCHoklch(45.5% 0.13 261.6)
XYZxyz(10.2589, 9.1676, 33.5700)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B539E #9E762B
analogous
#2B8D9E #2B539E #3C2B9E
triadic
#2B539E #9E2B53 #539E2B
tetradic
#2B539E #9E2B8D #9E762B #2B9E3C
square
#2B539E #9E2B8D #9E762B #2B9E3C
split-complementary
#2B539E #9E3C2B #8D9E2B
monochromatic
#11203E #1E3A6E #2B539E #3C6ECA #6C91D7

Accessibility & contrast

On white

7.41
#2B539E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B539E
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B539E#FFFFFF#000000##FFFFFF
##2B539E1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA1
Deuteranopia (green-blind)
#10509C
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b539e;
/* rgb */ color: rgb(43, 83, 158);
/* oklch */ color: oklch(45.5% 0.130 261.6);
Tailwind
colors: {
  custom: {
    50: '#7382bb',
    500: '#2b539e',
    950: '#000000',
  },
}
SCSS
$custom: #2b539e;
$custom-light: #7382bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b539e",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 158
  },
  "hsl": {
    "h": 219.13,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.13019,
    "h": 261.6
  },
  "luminance": 0.09169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B539E

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

Preview Lab → · Contrast checker → · Palette generator →

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