#2A58B5#2A58B5

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

Color values

HEX#2A58B5
RGBrgb(42, 88, 181)
HSLhsl(220, 62%, 44%)
HSVhsv(220, 77%, 71%)
CMYKcmyk(76.8%, 51.4%, 0%, 29%)
CIE-LABlab(39.25, 18.01, -53.84)
CIE-LCHlch(39.25, 56.78, 288.50°)
OKLaboklab(48.25% -0.0207 -0.1549)
OKLCHoklch(48.25% 0.156 262.4)
XYZxyz(12.7821, 10.8064, 45.1193)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58B5 #B5872A
analogous
#2A9DB5 #2A58B5 #412AB5
triadic
#2A58B5 #B52A58 #58B52A
tetradic
#2A58B5 #B52A9D #B5872A #2AB541
square
#2A58B5 #B52A9D #B5872A #2AB541
split-complementary
#2A58B5 #B5412A #9DB52A
monochromatic
#132852 #1E4083 #2A58B5 #4876D4 #799BE0

Accessibility & contrast

On white

6.64
#2A58B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2A58B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58B5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58B5#FFFFFF#000000##FFFFFF
##2A58B51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C63B8
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a58b5;
/* rgb */ color: rgb(42, 88, 181);
/* oklch */ color: oklch(48.2% 0.156 262.4);
Tailwind
colors: {
  custom: {
    50: '#7886cc',
    500: '#2a58b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a58b5;
$custom-light: #7886cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58b5",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 181
  },
  "hsl": {
    "h": 220.144,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48247,
    "c": 0.15633,
    "h": 262.4
  },
  "luminance": 0.10808
}

Semantic roles & 50–950 ramp

primary
#2A58B5
secondary
#C8AC73
accent
#AF42E5
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A58B5

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

Preview Lab → · Contrast checker → · Palette generator →

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