#2A59BD#2A59BD

#2A59BD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.1% C 0.166 H 262.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2A59BD
RGBrgb(42, 89, 189)
HSLhsl(221, 64%, 45%)
HSVhsv(221, 78%, 74%)
CMYKcmyk(77.8%, 52.9%, 0%, 25.9%)
CIE-LABlab(40.10, 20.42, -57.16)
CIE-LCHlch(40.10, 60.70, 289.66°)
OKLaboklab(49.07% -0.0206 -0.1647)
OKLCHoklch(49.07% 0.166 262.9)
XYZxyz(13.7092, 11.3095, 49.5947)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59BD #BD8E2A
analogous
#2AA3BD #2A59BD #442ABD
triadic
#2A59BD #BD2A59 #59BD2A
tetradic
#2A59BD #BD2AA3 #BD8E2A #2ABD44
square
#2A59BD #BD2AA3 #BD8E2A #2ABD44
split-complementary
#2A59BD #BD442A #A3BD2A
monochromatic
#142A59 #1F418B #2A59BD #4D79D7 #7F9FE3

Accessibility & contrast

On white

6.44
#2A59BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2A59BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59BD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59BD#FFFFFF#000000##FFFFFF
##2A59BD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E66C1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a59bd;
/* rgb */ color: rgb(42, 89, 189);
/* oklch */ color: oklch(49.1% 0.166 262.9);
Tailwind
colors: {
  custom: {
    50: '#7a87d2',
    500: '#2a59bd',
    950: '#000000',
  },
}
SCSS
$custom: #2a59bd;
$custom-light: #7a87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59bd",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 189
  },
  "hsl": {
    "h": 220.816,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4907,
    "c": 0.16599,
    "h": 262.9
  },
  "luminance": 0.11311
}

Semantic roles & 50–950 ramp

primary
#2A59BD
secondary
#CBB078
accent
#B241E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2A59BD

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

Preview Lab → · Contrast checker → · Palette generator →

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