#2A59AA#2A59AA

#2A59AA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.7% C 0.140 H 260.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2A59AA
RGBrgb(42, 89, 170)
HSLhsl(218, 60%, 42%)
HSVhsv(218, 75%, 67%)
CMYKcmyk(75.3%, 47.6%, 0%, 33.3%)
CIE-LABlab(38.79, 13.12, -48.10)
CIE-LCHlch(38.79, 49.85, 285.26°)
OKLaboklab(47.66% -0.0231 -0.138)
OKLCHoklch(47.66% 0.14 260.5)
XYZxyz(11.7803, 10.5380, 39.4356)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59AA #AA7B2A
analogous
#2A99AA #2A59AA #3B2AAA
triadic
#2A59AA #AA2A59 #59AA2A
tetradic
#2A59AA #AA2A99 #AA7B2A #2AAA3B
square
#2A59AA #AA2A99 #AA7B2A #2AAA3B
split-complementary
#2A59AA #AA3B2A #99AA2A
monochromatic
#122648 #1E3F79 #2A59AA #4176D0 #7299DC

Accessibility & contrast

On white

6.76
#2A59AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2A59AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59AA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59AA#FFFFFF#000000##FFFFFF
##2A59AA1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AD
Deuteranopia (green-blind)
#0956A8
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a59aa;
/* rgb */ color: rgb(42, 89, 170);
/* oklch */ color: oklch(47.7% 0.140 260.5);
Tailwind
colors: {
  custom: {
    50: '#7687c4',
    500: '#2a59aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a59aa;
$custom-light: #7687c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59aa",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 170
  },
  "hsl": {
    "h": 217.969,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47656,
    "c": 0.13994,
    "h": 260.5
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#2A59AA
secondary
#C3A36C
accent
#A944E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A59AA

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

Preview Lab → · Contrast checker → · Palette generator →

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