#2B59C2#2B59C2

#2B59C2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.172 H 263.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2B59C2
RGBrgb(43, 89, 194)
HSLhsl(222, 64%, 46%)
HSVhsv(222, 78%, 76%)
CMYKcmyk(77.8%, 54.1%, 0%, 23.9%)
CIE-LABlab(40.49, 22.44, -59.43)
CIE-LCHlch(40.49, 63.52, 290.68°)
OKLaboklab(49.5% -0.0194 -0.1713)
OKLCHoklch(49.5% 0.172 263.5)
XYZxyz(14.3028, 11.5517, 52.5044)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59C2 #C2942B
analogous
#2BA5C2 #2B59C2 #492BC2
triadic
#2B59C2 #C22B59 #59C22B
tetradic
#2B59C2 #C22BA5 #C2942B #2BC249
square
#2B59C2 #C22BA5 #C2942B #2BC249
split-complementary
#2B59C2 #C2492B #A5C22B
monochromatic
#152B5E #204290 #2B59C2 #527BD9 #84A1E4

Accessibility & contrast

On white

6.34
#2B59C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2B59C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B59C2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59C2#FFFFFF#000000##FFFFFF
##2B59C21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b59c2;
/* rgb */ color: rgb(43, 89, 194);
/* oklch */ color: oklch(49.5% 0.172 263.5);
Tailwind
colors: {
  custom: {
    50: '#7b87d5',
    500: '#2b59c2',
    950: '#000000',
  },
}
SCSS
$custom: #2b59c2;
$custom-light: #7b87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59c2",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 194
  },
  "hsl": {
    "h": 221.722,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49496,
    "c": 0.17245,
    "h": 263.5
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#2B59C2
secondary
#CDB47C
accent
#B441E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B59C2

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

Preview Lab → · Contrast checker → · Palette generator →

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