#2A58BD#2A58BD

#2A58BD is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.167 H 263.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2A58BD
RGBrgb(42, 88, 189)
HSLhsl(221, 64%, 45%)
HSVhsv(221, 78%, 74%)
CMYKcmyk(77.8%, 53.4%, 0%, 25.9%)
CIE-LABlab(39.82, 21.08, -57.61)
CIE-LCHlch(39.82, 61.34, 290.10°)
OKLaboklab(48.86% -0.0199 -0.166)
OKLCHoklch(48.86% 0.167 263.2)
XYZxyz(13.6266, 11.1442, 49.5671)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58BD #BD8F2A
analogous
#2AA2BD #2A58BD #452ABD
triadic
#2A58BD #BD2A58 #58BD2A
tetradic
#2A58BD #BD2AA2 #BD8F2A #2ABD45
square
#2A58BD #BD2AA2 #BD8F2A #2ABD45
split-complementary
#2A58BD #BD452A #A2BD2A
monochromatic
#142959 #1F418B #2A58BD #4D78D7 #7F9EE3

Accessibility & contrast

On white

6.50
#2A58BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2A58BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58BD
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58BD#FFFFFF#000000##FFFFFF
##2A58BD1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0765C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a58bd;
/* rgb */ color: rgb(42, 88, 189);
/* oklch */ color: oklch(48.9% 0.167 263.2);
Tailwind
colors: {
  custom: {
    50: '#7a86d2',
    500: '#2a58bd',
    950: '#000000',
  },
}
SCSS
$custom: #2a58bd;
$custom-light: #7a86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58bd",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 221.224,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48861,
    "c": 0.16722,
    "h": 263.2
  },
  "luminance": 0.11146
}

Semantic roles & 50–950 ramp

primary
#2A58BD
secondary
#CBB178
accent
#B341E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2A58BD

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

Preview Lab → · Contrast checker → · Palette generator →

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