#2A58AA#2A58AA

#2A58AA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.141 H 260.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2A58AA
RGBrgb(42, 88, 170)
HSLhsl(218, 60%, 42%)
HSVhsv(218, 75%, 67%)
CMYKcmyk(75.3%, 48.2%, 0%, 33.3%)
CIE-LABlab(38.50, 13.78, -48.56)
CIE-LCHlch(38.50, 50.48, 285.84°)
OKLaboklab(47.44% -0.0223 -0.1394)
OKLCHoklch(47.44% 0.141 260.9)
XYZxyz(11.6977, 10.3727, 39.4080)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58AA #AA7C2A
analogous
#2A98AA #2A58AA #3C2AAA
triadic
#2A58AA #AA2A58 #58AA2A
tetradic
#2A58AA #AA2A98 #AA7C2A #2AAA3C
square
#2A58AA #AA2A98 #AA7C2A #2AAA3C
split-complementary
#2A58AA #AA3C2A #98AA2A
monochromatic
#122548 #1E3F79 #2A58AA #4174D0 #7298DC

Accessibility & contrast

On white

6.83
#2A58AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A58AA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58AA#FFFFFF#000000##FFFFFF
##2A58AA1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AD
Deuteranopia (green-blind)
#0355A8
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a58aa;
/* rgb */ color: rgb(42, 88, 170);
/* oklch */ color: oklch(47.4% 0.141 260.9);
Tailwind
colors: {
  custom: {
    50: '#7686c4',
    500: '#2a58aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a58aa;
$custom-light: #7686c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58aa",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 218.438,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47435,
    "c": 0.14117,
    "h": 260.9
  },
  "luminance": 0.10374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A58AA

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

Preview Lab → · Contrast checker → · Palette generator →

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