#2A59BB#2A59BB

#2A59BB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.9% C 0.163 H 262.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#2A59BB
RGBrgb(42, 89, 187)
HSLhsl(221, 63%, 45%)
HSVhsv(221, 78%, 73%)
CMYKcmyk(77.5%, 52.4%, 0%, 26.7%)
CIE-LABlab(39.95, 19.65, -56.23)
CIE-LCHlch(39.95, 59.56, 289.27°)
OKLaboklab(48.92% -0.0208 -0.1619)
OKLCHoklch(48.92% 0.163 262.7)
XYZxyz(13.4936, 11.2233, 48.4592)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59BB #BB8C2A
analogous
#2AA1BB #2A59BB #442ABB
triadic
#2A59BB #BB2A59 #59BB2A
tetradic
#2A59BB #BB2AA1 #BB8C2A #2ABB44
square
#2A59BB #BB2AA1 #BB8C2A #2ABB44
split-complementary
#2A59BB #BB442A #A1BB2A
monochromatic
#142957 #1F4189 #2A59BB #4C79D7 #7D9EE2

Accessibility & contrast

On white

6.47
#2A59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2A59BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59BB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59BB#FFFFFF#000000##FFFFFF
##2A59BB1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BE
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a59bb;
/* rgb */ color: rgb(42, 89, 187);
/* oklch */ color: oklch(48.9% 0.163 262.7);
Tailwind
colors: {
  custom: {
    50: '#7987d0',
    500: '#2a59bb',
    950: '#000000',
  },
}
SCSS
$custom: #2a59bb;
$custom-light: #7987d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59bb",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 220.552,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48916,
    "c": 0.16327,
    "h": 262.7
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#2A59BB
secondary
#CAAF76
accent
#B141E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2A59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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