#2B59EC#2B59EC

#2B59EC is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.0% C 0.227 H 265.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2B59EC
RGBrgb(43, 89, 236)
HSLhsl(226, 84%, 55%)
HSVhsv(226, 82%, 93%)
CMYKcmyk(81.8%, 62.3%, 0%, 7.5%)
CIE-LABlab(43.82, 38.09, -78.05)
CIE-LCHlch(43.82, 86.85, 296.01°)
OKLaboklab(53.02% -0.0179 -0.226)
OKLCHoklch(53.02% 0.227 265.5)
XYZxyz(19.7036, 13.7121, 80.9488)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59EC #ECBE2B
analogous
#2BBAEC #2B59EC #5D2BEC
triadic
#2B59EC #EC2B59 #59EC2B
tetradic
#2B59EC #EC2BBA #ECBE2B #2BEC5D
square
#2B59EC #EC2BBA #ECBE2B #2BEC5D
split-complementary
#2B59EC #EC5D2B #BAEC2B
monochromatic
#0D2C90 #123DC8 #2B59EC #6385F1 #9BB1F6

Accessibility & contrast

On white

5.61
#2B59EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2B59EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B59EC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59EC#FFFFFF#000000##FFFFFF
##2B59EC1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#005FE9
Tritanopia (blue-blind)
#00809A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2b59ec;
/* rgb */ color: rgb(43, 89, 236);
/* oklch */ color: oklch(53.0% 0.227 265.5);
Tailwind
colors: {
  custom: {
    50: '#8587f3',
    500: '#2b59ec',
    950: '#000000',
  },
}
SCSS
$custom: #2b59ec;
$custom-light: #8587f3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59ec",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 225.699,
    "s": 83.55,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53016,
    "c": 0.22669,
    "h": 265.5
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#2B59EC
secondary
#E2CF91
accent
#C92EFA
background
#F9F8FF
surface
#F1EFFE
border
#CBCAD6
text
#0D0B17
muted
#7E7C85

Preview Lab

Preview with #2B59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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