#2A59C2#2A59C2

#2A59C2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.5% C 0.173 H 263.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2A59C2
RGBrgb(42, 89, 194)
HSLhsl(221, 64%, 46%)
HSVhsv(221, 78%, 76%)
CMYKcmyk(78.4%, 54.1%, 0%, 23.9%)
CIE-LABlab(40.46, 22.33, -59.49)
CIE-LCHlch(40.46, 63.54, 290.57°)
OKLaboklab(49.46% -0.0201 -0.1715)
OKLCHoklch(49.46% 0.173 263.3)
XYZxyz(14.2613, 11.5304, 52.5024)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59C2 #C2932A
analogous
#2AA5C2 #2A59C2 #472AC2
triadic
#2A59C2 #C22A59 #59C22A
tetradic
#2A59C2 #C22AA5 #C2932A #2AC247
square
#2A59C2 #C22AA5 #C2932A #2AC247
split-complementary
#2A59C2 #C2472A #A5C22A
monochromatic
#142B5D #1F4290 #2A59C2 #507AD9 #82A1E4

Accessibility & contrast

On white

6.35
#2A59C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A59C2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59C2#FFFFFF#000000##FFFFFF
##2A59C21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.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: #2a59c2;
/* rgb */ color: rgb(42, 89, 194);
/* oklch */ color: oklch(49.5% 0.173 263.3);
Tailwind
colors: {
  custom: {
    50: '#7b87d5',
    500: '#2a59c2',
    950: '#000000',
  },
}
SCSS
$custom: #2a59c2;
$custom-light: #7b87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59c2",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 194
  },
  "hsl": {
    "h": 221.447,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4946,
    "c": 0.17272,
    "h": 263.3
  },
  "luminance": 0.11532
}

Semantic roles & 50–950 ramp

primary
#2A59C2
secondary
#CDB47B
accent
#B440E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2A59C2

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

Preview Lab → · Contrast checker → · Palette generator →

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