#2A58A4#2A58A4

#2A58A4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.0% C 0.133 H 259.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2A58A4
RGBrgb(42, 88, 164)
HSLhsl(217, 59%, 40%)
HSVhsv(217, 74%, 64%)
CMYKcmyk(74.4%, 46.3%, 0%, 35.7%)
CIE-LABlab(38.11, 11.47, -45.62)
CIE-LCHlch(38.11, 47.04, 284.12°)
OKLaboklab(47.01% -0.0233 -0.1307)
OKLCHoklch(47.01% 0.133 259.9)
XYZxyz(11.1430, 10.1508, 36.4868)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58A4 #A4762A
analogous
#2A95A4 #2A58A4 #392AA4
triadic
#2A58A4 #A42A58 #58A42A
tetradic
#2A58A4 #A42A95 #A4762A #2AA439
square
#2A58A4 #A42A95 #A4762A #2AA439
split-complementary
#2A58A4 #A4392A #95A42A
monochromatic
#112443 #1E3E73 #2A58A4 #3E74CD #6E97DA

Accessibility & contrast

On white

6.93
#2A58A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2A58A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58A4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58A4#FFFFFF#000000##FFFFFF
##2A58A41.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#1654A2
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a58a4;
/* rgb */ color: rgb(42, 88, 164);
/* oklch */ color: oklch(47.0% 0.133 259.9);
Tailwind
colors: {
  custom: {
    50: '#7486bf',
    500: '#2a58a4',
    950: '#000000',
  },
}
SCSS
$custom: #2a58a4;
$custom-light: #7486bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58a4",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 164
  },
  "hsl": {
    "h": 217.377,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47008,
    "c": 0.1328,
    "h": 259.9
  },
  "luminance": 0.10152
}

Semantic roles & 50–950 ramp

primary
#2A58A4
secondary
#C1A069
accent
#A745E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A58A4

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

Preview Lab → · Contrast checker → · Palette generator →

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