#2A58AC#2A58AC

#2A58AC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.144 H 261.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2A58AC
RGBrgb(42, 88, 172)
HSLhsl(219, 61%, 42%)
HSVhsv(219, 76%, 67%)
CMYKcmyk(75.6%, 48.8%, 0%, 32.5%)
CIE-LABlab(38.64, 14.55, -49.53)
CIE-LCHlch(38.64, 51.62, 286.37°)
OKLaboklab(47.58% -0.0219 -0.1422)
OKLCHoklch(47.58% 0.144 261.2)
XYZxyz(11.8883, 10.4489, 40.4120)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58AC #AC7E2A
analogous
#2A99AC #2A58AC #3D2AAC
triadic
#2A58AC #AC2A58 #58AC2A
tetradic
#2A58AC #AC2A99 #AC7E2A #2AAC3D
square
#2A58AC #AC2A99 #AC7E2A #2AAC3D
split-complementary
#2A58AC #AC3D2A #99AC2A
monochromatic
#12264A #1E3F7B #2A58AC #4275D1 #7399DD

Accessibility & contrast

On white

6.80
#2A58AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2A58AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58AC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58AC#FFFFFF#000000##FFFFFF
##2A58AC1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a58ac;
/* rgb */ color: rgb(42, 88, 172);
/* oklch */ color: oklch(47.6% 0.144 261.2);
Tailwind
colors: {
  custom: {
    50: '#7686c5',
    500: '#2a58ac',
    950: '#000000',
  },
}
SCSS
$custom: #2a58ac;
$custom-light: #7686c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58ac",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 218.769,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47579,
    "c": 0.14393,
    "h": 261.2
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

primary
#2A58AC
secondary
#C4A66D
accent
#AB44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A58AC

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

Preview Lab → · Contrast checker → · Palette generator →

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