#2B539B#2B539B

#2B539B is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.3% C 0.126 H 261.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2B539B
RGBrgb(43, 83, 155)
HSLhsl(219, 57%, 39%)
HSVhsv(219, 72%, 61%)
CMYKcmyk(72.3%, 46.5%, 0%, 39.2%)
CIE-LABlab(36.11, 11.46, -43.44)
CIE-LCHlch(36.11, 44.93, 284.78°)
OKLaboklab(45.29% -0.0195 -0.1244)
OKLCHoklch(45.29% 0.126 261.1)
XYZxyz(10.0038, 9.0656, 32.2266)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B539B #9B732B
analogous
#2B8B9B #2B539B #3B2B9B
triadic
#2B539B #9B2B53 #539B2B
tetradic
#2B539B #9B2B8B #9B732B #2B9B3B
square
#2B539B #9B2B8B #9B732B #2B9B3B
split-complementary
#2B539B #9B3B2B #8B9B2B
monochromatic
#10203B #1E396B #2B539B #3B6DC9 #6B91D6

Accessibility & contrast

On white

7.46
#2B539B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2B539B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B539B
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B539B#FFFFFF#000000##FFFFFF
##2B539B1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9E
Deuteranopia (green-blind)
#17509A
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b539b;
/* rgb */ color: rgb(43, 83, 155);
/* oklch */ color: oklch(45.3% 0.126 261.1);
Tailwind
colors: {
  custom: {
    50: '#7382b9',
    500: '#2b539b',
    950: '#000000',
  },
}
SCSS
$custom: #2b539b;
$custom-light: #7382b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b539b",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 218.571,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45292,
    "c": 0.12593,
    "h": 261.1
  },
  "luminance": 0.09067
}

Semantic roles & 50–950 ramp

primary
#2B539B
secondary
#BC9D65
accent
#AA48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B539B

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

Preview Lab → · Contrast checker → · Palette generator →

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