#2A59C1#2A59C1

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

Color values

HEX#2A59C1
RGBrgb(42, 89, 193)
HSLhsl(221, 64%, 46%)
HSVhsv(221, 78%, 76%)
CMYKcmyk(78.2%, 53.9%, 0%, 24.3%)
CIE-LABlab(40.39, 21.95, -59.03)
CIE-LCHlch(40.39, 62.97, 290.40°)
OKLaboklab(49.38% -0.0202 -0.1702)
OKLCHoklch(49.38% 0.171 263.2)
XYZxyz(14.1494, 11.4856, 51.9130)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59C1 #C1922A
analogous
#2AA4C1 #2A59C1 #472AC1
triadic
#2A59C1 #C12A59 #59C12A
tetradic
#2A59C1 #C12AA4 #C1922A #2AC147
square
#2A59C1 #C12AA4 #C1922A #2AC147
split-complementary
#2A59C1 #C1472A #A4C12A
monochromatic
#142B5C #1F428F #2A59C1 #4F7AD9 #82A0E4

Accessibility & contrast

On white

6.37
#2A59C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A59C1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59C1#FFFFFF#000000##FFFFFF
##2A59C11.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a59c1;
/* rgb */ color: rgb(42, 89, 193);
/* oklch */ color: oklch(49.4% 0.171 263.2);
Tailwind
colors: {
  custom: {
    50: '#7b87d4',
    500: '#2a59c1',
    950: '#000000',
  },
}
SCSS
$custom: #2a59c1;
$custom-light: #7b87d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59c1",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 193
  },
  "hsl": {
    "h": 221.325,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49381,
    "c": 0.17138,
    "h": 263.2
  },
  "luminance": 0.11487
}

Semantic roles & 50–950 ramp

primary
#2A59C1
secondary
#CDB37A
accent
#B341E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2A59C1

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

Preview Lab → · Contrast checker → · Palette generator →

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