#2A58AB#2A58AB

#2A58AB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.143 H 261.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2A58AB
RGBrgb(42, 88, 171)
HSLhsl(219, 61%, 42%)
HSVhsv(219, 75%, 67%)
CMYKcmyk(75.4%, 48.5%, 0%, 32.9%)
CIE-LABlab(38.57, 14.17, -49.04)
CIE-LCHlch(38.57, 51.05, 286.11°)
OKLaboklab(47.51% -0.0221 -0.1408)
OKLCHoklch(47.51% 0.143 261.1)
XYZxyz(11.7926, 10.4106, 39.9081)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58AB #AB7D2A
analogous
#2A99AB #2A58AB #3D2AAB
triadic
#2A58AB #AB2A58 #58AB2A
tetradic
#2A58AB #AB2A99 #AB7D2A #2AAB3D
square
#2A58AB #AB2A99 #AB7D2A #2AAB3D
split-complementary
#2A58AB #AB3D2A #99AB2A
monochromatic
#122549 #1E3F7A #2A58AB #4275D1 #7399DD

Accessibility & contrast

On white

6.81
#2A58AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2A58AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58AB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58AB#FFFFFF#000000##FFFFFF
##2A58AB1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a58ab;
/* rgb */ color: rgb(42, 88, 171);
/* oklch */ color: oklch(47.5% 0.143 261.1);
Tailwind
colors: {
  custom: {
    50: '#7686c4',
    500: '#2a58ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a58ab;
$custom-light: #7686c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58ab",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 171
  },
  "hsl": {
    "h": 218.605,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47507,
    "c": 0.14255,
    "h": 261.1
  },
  "luminance": 0.10412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A58AB

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

Preview Lab → · Contrast checker → · Palette generator →

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