#2A59AB#2A59AB

#2A59AB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.141 H 260.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2A59AB
RGBrgb(42, 89, 171)
HSLhsl(218, 61%, 42%)
HSVhsv(218, 75%, 67%)
CMYKcmyk(75.4%, 48%, 0%, 32.9%)
CIE-LABlab(38.86, 13.51, -48.58)
CIE-LCHlch(38.86, 50.43, 285.54°)
OKLaboklab(47.73% -0.023 -0.1394)
OKLCHoklch(47.73% 0.141 260.7)
XYZxyz(11.8753, 10.5759, 39.9357)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59AB #AB7C2A
analogous
#2A99AB #2A59AB #3C2AAB
triadic
#2A59AB #AB2A59 #59AB2A
tetradic
#2A59AB #AB2A99 #AB7C2A #2AAB3C
square
#2A59AB #AB2A99 #AB7C2A #2AAB3C
split-complementary
#2A59AB #AB3C2A #99AB2A
monochromatic
#122649 #1E3F7A #2A59AB #4276D1 #7399DD

Accessibility & contrast

On white

6.74
#2A59AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2A59AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59AB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59AB#FFFFFF#000000##FFFFFF
##2A59AB1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AE
Deuteranopia (green-blind)
#0556A9
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a59ab;
/* rgb */ color: rgb(42, 89, 171);
/* oklch */ color: oklch(47.7% 0.141 260.7);
Tailwind
colors: {
  custom: {
    50: '#7687c4',
    500: '#2a59ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a59ab;
$custom-light: #7687c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59ab",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 171
  },
  "hsl": {
    "h": 218.14,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47727,
    "c": 0.14133,
    "h": 260.7
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#2A59AB
secondary
#C4A46D
accent
#AA44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A59AB

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

Preview Lab → · Contrast checker → · Palette generator →

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