#2B59B5#2B59B5

#2B59B5 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.155 H 262.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2B59B5
RGBrgb(43, 89, 181)
HSLhsl(220, 62%, 44%)
HSVhsv(220, 76%, 71%)
CMYKcmyk(76.2%, 50.8%, 0%, 29%)
CIE-LABlab(39.57, 17.47, -53.33)
CIE-LCHlch(39.57, 56.12, 288.14°)
OKLaboklab(48.5% -0.0208 -0.1534)
OKLCHoklch(48.5% 0.155 262.3)
XYZxyz(12.9061, 10.9931, 45.1488)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59B5 #B5872B
analogous
#2B9EB5 #2B59B5 #422BB5
triadic
#2B59B5 #B52B59 #59B52B
tetradic
#2B59B5 #B52B9E #B5872B #2BB542
square
#2B59B5 #B52B9E #B5872B #2BB542
split-complementary
#2B59B5 #B5422B #9EB52B
monochromatic
#142852 #1F4184 #2B59B5 #4978D4 #7B9CE0

Accessibility & contrast

On white

6.56
#2B59B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2B59B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B59B5
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59B5#FFFFFF#000000##FFFFFF
##2B59B51.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2064B8
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b59b5;
/* rgb */ color: rgb(43, 89, 181);
/* oklch */ color: oklch(48.5% 0.155 262.3);
Tailwind
colors: {
  custom: {
    50: '#7887cc',
    500: '#2b59b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b59b5;
$custom-light: #7887cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59b5",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 181
  },
  "hsl": {
    "h": 220,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48498,
    "c": 0.15481,
    "h": 262.3
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#2B59B5
secondary
#C8AC74
accent
#AF43E5
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B59B5

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

Preview Lab → · Contrast checker → · Palette generator →

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