#2A59A5#2A59A5

#2A59A5 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.3% C 0.133 H 259.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2A59A5
RGBrgb(42, 89, 165)
HSLhsl(217, 59%, 41%)
HSVhsv(217, 75%, 65%)
CMYKcmyk(74.5%, 46.1%, 0%, 35.3%)
CIE-LABlab(38.47, 11.20, -45.65)
CIE-LCHlch(38.47, 47.00, 283.79°)
OKLaboklab(47.3% -0.024 -0.1308)
OKLCHoklch(47.3% 0.133 259.6)
XYZxyz(11.3163, 10.3524, 36.9918)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59A5 #A5762A
analogous
#2A96A5 #2A59A5 #382AA5
triadic
#2A59A5 #A52A59 #59A52A
tetradic
#2A59A5 #A52A96 #A5762A #2AA538
square
#2A59A5 #A52A96 #A5762A #2AA538
split-complementary
#2A59A5 #A5382A #96A52A
monochromatic
#112443 #1E3F74 #2A59A5 #3E75CE #6F98DA

Accessibility & contrast

On white

6.84
#2A59A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2A59A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59A5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59A5#FFFFFF#000000##FFFFFF
##2A59A51.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A8
Deuteranopia (green-blind)
#1755A3
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a59a5;
/* rgb */ color: rgb(42, 89, 165);
/* oklch */ color: oklch(47.3% 0.133 259.6);
Tailwind
colors: {
  custom: {
    50: '#7487c0',
    500: '#2a59a5',
    950: '#000000',
  },
}
SCSS
$custom: #2a59a5;
$custom-light: #7487c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59a5",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 165
  },
  "hsl": {
    "h": 217.073,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47303,
    "c": 0.13299,
    "h": 259.6
  },
  "luminance": 0.10354
}

Semantic roles & 50–950 ramp

primary
#2A59A5
secondary
#C1A069
accent
#A645E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A59A5

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

Preview Lab → · Contrast checker → · Palette generator →

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