#2A58AE#2A58AE

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

Color values

HEX#2A58AE
RGBrgb(42, 88, 174)
HSLhsl(219, 61%, 42%)
HSVhsv(219, 76%, 68%)
CMYKcmyk(75.9%, 49.4%, 0%, 31.8%)
CIE-LABlab(38.77, 15.32, -50.50)
CIE-LCHlch(38.77, 52.77, 286.88°)
OKLaboklab(47.73% -0.0217 -0.1451)
OKLCHoklch(47.73% 0.147 261.5)
XYZxyz(12.0818, 10.5263, 41.4312)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58AE #AE802A
analogous
#2A9AAE #2A58AE #3E2AAE
triadic
#2A58AE #AE2A58 #58AE2A
tetradic
#2A58AE #AE2A9A #AE802A #2AAE3E
square
#2A58AE #AE2A9A #AE802A #2AAE3E
split-complementary
#2A58AE #AE3E2A #9AAE2A
monochromatic
#12264B #1E3F7D #2A58AE #4375D2 #7599DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A58AE#FFFFFF#000000##FFFFFF
##2A58AE1.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)
#2662B1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a58ae;
/* rgb */ color: rgb(42, 88, 174);
/* oklch */ color: oklch(47.7% 0.147 261.5);
Tailwind
colors: {
  custom: {
    50: '#7686c7',
    500: '#2a58ae',
    950: '#000000',
  },
}
SCSS
$custom: #2a58ae;
$custom-light: #7686c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58ae",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 219.091,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.14671,
    "h": 261.5
  },
  "luminance": 0.10528
}

Semantic roles & 50–950 ramp

primary
#2A58AE
secondary
#C5A76F
accent
#AC44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A58AE

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

Preview Lab → · Contrast checker → · Palette generator →

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