#2B59BB#2B59BB

#2B59BB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.163 H 262.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2B59BB
RGBrgb(43, 89, 187)
HSLhsl(221, 63%, 45%)
HSVhsv(221, 77%, 73%)
CMYKcmyk(77%, 52.4%, 0%, 26.7%)
CIE-LABlab(39.99, 19.77, -56.17)
CIE-LCHlch(39.99, 59.54, 289.39°)
OKLaboklab(48.95% -0.0201 -0.1617)
OKLCHoklch(48.95% 0.163 262.9)
XYZxyz(13.5351, 11.2447, 48.4612)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59BB #BB8D2B
analogous
#2BA1BB #2B59BB #452BBB
triadic
#2B59BB #BB2B59 #59BB2B
tetradic
#2B59BB #BB2BA1 #BB8D2B #2BBB45
square
#2B59BB #BB2BA1 #BB8D2B #2BBB45
split-complementary
#2B59BB #BB452B #A1BB2B
monochromatic
#142A57 #204189 #2B59BB #4D79D6 #7F9EE2

Accessibility & contrast

On white

6.46
#2B59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2B59BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B59BB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59BB#FFFFFF#000000##FFFFFF
##2B59BB1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BE
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b59bb;
/* rgb */ color: rgb(43, 89, 187);
/* oklch */ color: oklch(49.0% 0.163 262.9);
Tailwind
colors: {
  custom: {
    50: '#7a87d0',
    500: '#2b59bb',
    950: '#000000',
  },
}
SCSS
$custom: #2b59bb;
$custom-light: #7a87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59bb",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 220.833,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48953,
    "c": 0.163,
    "h": 262.9
  },
  "luminance": 0.11246
}

Semantic roles & 50–950 ramp

primary
#2B59BB
secondary
#CAB078
accent
#B142E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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