#2A59B3#2A59B3

#2A59B3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.3% C 0.152 H 261.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2A59B3
RGBrgb(42, 89, 179)
HSLhsl(219, 62%, 43%)
HSVhsv(219, 77%, 70%)
CMYKcmyk(76.5%, 50.3%, 0%, 29.8%)
CIE-LABlab(39.39, 16.59, -52.44)
CIE-LCHlch(39.39, 55.00, 287.55°)
OKLaboklab(48.31% -0.0218 -0.1508)
OKLCHoklch(48.31% 0.152 261.8)
XYZxyz(12.6610, 10.8902, 44.0738)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59B3 #B3842A
analogous
#2A9DB3 #2A59B3 #3F2AB3
triadic
#2A59B3 #B32A59 #59B32A
tetradic
#2A59B3 #B32A9D #B3842A #2AB33F
square
#2A59B3 #B32A9D #B3842A #2AB33F
split-complementary
#2A59B3 #B33F2A #9DB32A
monochromatic
#132850 #1E4081 #2A59B3 #4677D4 #789BDF

Accessibility & contrast

On white

6.61
#2A59B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2A59B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59B3
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59B3#FFFFFF#000000##FFFFFF
##2A59B31.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B6
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a59b3;
/* rgb */ color: rgb(42, 89, 179);
/* oklch */ color: oklch(48.3% 0.152 261.8);
Tailwind
colors: {
  custom: {
    50: '#7887ca',
    500: '#2a59b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a59b3;
$custom-light: #7887ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59b3",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 179
  },
  "hsl": {
    "h": 219.416,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48312,
    "c": 0.15236,
    "h": 261.8
  },
  "luminance": 0.10892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A59B3

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

Preview Lab → · Contrast checker → · Palette generator →

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