#2B59C1#2B59C1

#2B59C1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.171 H 263.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2B59C1
RGBrgb(43, 89, 193)
HSLhsl(222, 64%, 46%)
HSVhsv(222, 78%, 76%)
CMYKcmyk(77.7%, 53.9%, 0%, 24.3%)
CIE-LABlab(40.42, 22.06, -58.97)
CIE-LCHlch(40.42, 62.96, 290.51°)
OKLaboklab(49.42% -0.0195 -0.17)
OKLCHoklch(49.42% 0.171 263.4)
XYZxyz(14.1908, 11.5070, 51.9149)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59C1 #C1932B
analogous
#2BA4C1 #2B59C1 #482BC1
triadic
#2B59C1 #C12B59 #59C12B
tetradic
#2B59C1 #C12BA4 #C1932B #2BC148
square
#2B59C1 #C12BA4 #C1932B #2BC148
split-complementary
#2B59C1 #C1482B #A4C12B
monochromatic
#152B5D #20428F #2B59C1 #517AD8 #83A1E3

Accessibility & contrast

On white

6.36
#2B59C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2B59C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B59C1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59C1#FFFFFF#000000##FFFFFF
##2B59C11.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b59c1;
/* rgb */ color: rgb(43, 89, 193);
/* oklch */ color: oklch(49.4% 0.171 263.4);
Tailwind
colors: {
  custom: {
    50: '#7b87d4',
    500: '#2b59c1',
    950: '#000000',
  },
}
SCSS
$custom: #2b59c1;
$custom-light: #7b87d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59c1",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 193
  },
  "hsl": {
    "h": 221.6,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.17111,
    "h": 263.4
  },
  "luminance": 0.11509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B59C1

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

Preview Lab → · Contrast checker → · Palette generator →

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