#2A59B0#2A59B0

#2A59B0 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.148 H 261.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2A59B0
RGBrgb(42, 89, 176)
HSLhsl(219, 61%, 43%)
HSVhsv(219, 76%, 69%)
CMYKcmyk(76.1%, 49.4%, 0%, 31%)
CIE-LABlab(39.19, 15.43, -51.00)
CIE-LCHlch(39.19, 53.28, 286.83°)
OKLaboklab(48.09% -0.0222 -0.1466)
OKLCHoklch(48.09% 0.148 261.4)
XYZxyz(12.3609, 10.7702, 42.4933)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59B0 #B0812A
analogous
#2A9CB0 #2A59B0 #3E2AB0
triadic
#2A59B0 #B02A59 #59B02A
tetradic
#2A59B0 #B02A9C #B0812A #2AB03E
square
#2A59B0 #B02A9C #B0812A #2AB03E
split-complementary
#2A59B0 #B03E2A #9CB02A
monochromatic
#12274D #1E407F #2A59B0 #4576D3 #769BDE

Accessibility & contrast

On white

6.66
#2A59B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2A59B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59B0
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59B0#FFFFFF#000000##FFFFFF
##2A59B01.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2663B3
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a59b0;
/* rgb */ color: rgb(42, 89, 176);
/* oklch */ color: oklch(48.1% 0.148 261.4);
Tailwind
colors: {
  custom: {
    50: '#7787c8',
    500: '#2a59b0',
    950: '#000000',
  },
}
SCSS
$custom: #2a59b0;
$custom-light: #7787c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59b0",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 176
  },
  "hsl": {
    "h": 218.955,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4809,
    "c": 0.14823,
    "h": 261.4
  },
  "luminance": 0.10772
}

Semantic roles & 50–950 ramp

primary
#2A59B0
secondary
#C6A870
accent
#AC43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A59B0

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

Preview Lab → · Contrast checker → · Palette generator →

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