#2B539A#2B539A

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

Color values

HEX#2B539A
RGBrgb(43, 83, 154)
HSLhsl(218, 56%, 39%)
HSVhsv(218, 72%, 60%)
CMYKcmyk(72.1%, 46.1%, 0%, 39.6%)
CIE-LABlab(36.05, 11.08, -42.94)
CIE-LCHlch(36.05, 44.35, 284.46°)
OKLaboklab(45.22% -0.0197 -0.1229)
OKLCHoklch(45.22% 0.125 260.9)
XYZxyz(9.9202, 9.0322, 31.7862)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B539A #9A722B
analogous
#2B8A9A #2B539A #3A2B9A
triadic
#2B539A #9A2B53 #539A2B
tetradic
#2B539A #9A2B8A #9A722B #2B9A3A
square
#2B539A #9A2B8A #9A722B #2B9A3A
split-complementary
#2B539A #9A3A2B #8A9A2B
monochromatic
#101F3A #1E396A #2B539A #3A6DC8 #6A91D5

Accessibility & contrast

On white

7.48
#2B539A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B539A
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B539A#FFFFFF#000000##FFFFFF
##2B539A1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9D
Deuteranopia (green-blind)
#195099
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b539a;
/* rgb */ color: rgb(43, 83, 154);
/* oklch */ color: oklch(45.2% 0.125 260.9);
Tailwind
colors: {
  custom: {
    50: '#7382b8',
    500: '#2b539a',
    950: '#000000',
  },
}
SCSS
$custom: #2b539a;
$custom-light: #7382b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b539a",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 154
  },
  "hsl": {
    "h": 218.378,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45222,
    "c": 0.12451,
    "h": 260.9
  },
  "luminance": 0.09033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B539A

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

Preview Lab → · Contrast checker → · Palette generator →

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