#2B539F#2B539F

#2B539F is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.132 H 261.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2B539F
RGBrgb(43, 83, 159)
HSLhsl(219, 57%, 40%)
HSVhsv(219, 73%, 62%)
CMYKcmyk(73%, 47.8%, 0%, 37.6%)
CIE-LABlab(36.37, 12.99, -45.43)
CIE-LCHlch(36.37, 47.25, 285.96°)
OKLaboklab(45.58% -0.0188 -0.1302)
OKLCHoklch(45.58% 0.132 261.8)
XYZxyz(10.3453, 9.2022, 34.0252)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B539F #9F772B
analogous
#2B8D9F #2B539F #3D2B9F
triadic
#2B539F #9F2B53 #539F2B
tetradic
#2B539F #9F2B8D #9F772B #2B9F3D
square
#2B539F #9F2B8D #9F772B #2B9F3D
split-complementary
#2B539F #9F3D2B #8D9F2B
monochromatic
#11213F #1E3A6F #2B539F #3D6ECA #6D92D7

Accessibility & contrast

On white

7.39
#2B539F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2B539F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B539F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B539F#FFFFFF#000000##FFFFFF
##2B539F1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5BA2
Deuteranopia (green-blind)
#0E519D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b539f;
/* rgb */ color: rgb(43, 83, 159);
/* oklch */ color: oklch(45.6% 0.132 261.8);
Tailwind
colors: {
  custom: {
    50: '#7482bc',
    500: '#2b539f',
    950: '#000000',
  },
}
SCSS
$custom: #2b539f;
$custom-light: #7482bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b539f",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 159
  },
  "hsl": {
    "h": 219.31,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45576,
    "c": 0.1316,
    "h": 261.8
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B539F

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

Preview Lab → · Contrast checker → · Palette generator →

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