#2A59B2#2A59B2

#2A59B2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.151 H 261.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2A59B2
RGBrgb(42, 89, 178)
HSLhsl(219, 62%, 43%)
HSVhsv(219, 76%, 70%)
CMYKcmyk(76.4%, 50%, 0%, 30.2%)
CIE-LABlab(39.33, 16.20, -51.96)
CIE-LCHlch(39.33, 54.43, 287.32°)
OKLaboklab(48.24% -0.0219 -0.1494)
OKLCHoklch(48.24% 0.151 261.7)
XYZxyz(12.5602, 10.8499, 43.5431)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59B2 #B2832A
analogous
#2A9DB2 #2A59B2 #3F2AB2
triadic
#2A59B2 #B22A59 #59B22A
tetradic
#2A59B2 #B22A9D #B2832A #2AB23F
square
#2A59B2 #B22A9D #B2832A #2AB23F
split-complementary
#2A59B2 #B23F2A #9DB22A
monochromatic
#13274F #1E4080 #2A59B2 #4677D3 #779BDF

Accessibility & contrast

On white

6.62
#2A59B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2A59B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59B2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59B2#FFFFFF#000000##FFFFFF
##2A59B21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a59b2;
/* rgb */ color: rgb(42, 89, 178);
/* oklch */ color: oklch(48.2% 0.151 261.7);
Tailwind
colors: {
  custom: {
    50: '#7787ca',
    500: '#2a59b2',
    950: '#000000',
  },
}
SCSS
$custom: #2a59b2;
$custom-light: #7787ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59b2",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 219.265,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48237,
    "c": 0.15099,
    "h": 261.7
  },
  "luminance": 0.10851
}

Semantic roles & 50–950 ramp

primary
#2A59B2
secondary
#C7A971
accent
#AD43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A59B2

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

Preview Lab → · Contrast checker → · Palette generator →

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