#2A58B4#2A58B4

#2A58B4 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.2% C 0.155 H 262.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2A58B4
RGBrgb(42, 88, 180)
HSLhsl(220, 62%, 44%)
HSVhsv(220, 77%, 71%)
CMYKcmyk(76.7%, 51.1%, 0%, 29.4%)
CIE-LABlab(39.18, 17.63, -53.37)
CIE-LCHlch(39.18, 56.20, 288.28°)
OKLaboklab(48.17% -0.0209 -0.1535)
OKLCHoklch(48.17% 0.155 262.3)
XYZxyz(12.6798, 10.7655, 44.5809)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58B4 #B4862A
analogous
#2A9DB4 #2A58B4 #412AB4
triadic
#2A58B4 #B42A58 #58B42A
tetradic
#2A58B4 #B42A9D #B4862A #2AB441
square
#2A58B4 #B42A9D #B4862A #2AB441
split-complementary
#2A58B4 #B4412A #9DB42A
monochromatic
#132751 #1E4082 #2A58B4 #4776D4 #799BE0

Accessibility & contrast

On white

6.66
#2A58B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2A58B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58B4
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58B4#FFFFFF#000000##FFFFFF
##2A58B41.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E63B7
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a58b4;
/* rgb */ color: rgb(42, 88, 180);
/* oklch */ color: oklch(48.2% 0.155 262.3);
Tailwind
colors: {
  custom: {
    50: '#7886cb',
    500: '#2a58b4',
    950: '#000000',
  },
}
SCSS
$custom: #2a58b4;
$custom-light: #7886cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58b4",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 180
  },
  "hsl": {
    "h": 220,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48172,
    "c": 0.15496,
    "h": 262.3
  },
  "luminance": 0.10767
}

Semantic roles & 50–950 ramp

primary
#2A58B4
secondary
#C8AB72
accent
#AF43E5
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A58B4

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

Preview Lab → · Contrast checker → · Palette generator →

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