#2A58BC#2A58BC

#2A58BC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.166 H 263.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2A58BC
RGBrgb(42, 88, 188)
HSLhsl(221, 63%, 45%)
HSVhsv(221, 78%, 74%)
CMYKcmyk(77.7%, 53.2%, 0%, 26.3%)
CIE-LABlab(39.75, 20.69, -57.14)
CIE-LCHlch(39.75, 60.77, 289.91°)
OKLaboklab(48.78% -0.02 -0.1646)
OKLCHoklch(48.78% 0.166 263.1)
XYZxyz(13.5184, 11.1010, 48.9974)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58BC #BC8E2A
analogous
#2AA1BC #2A58BC #452ABC
triadic
#2A58BC #BC2A58 #58BC2A
tetradic
#2A58BC #BC2AA1 #BC8E2A #2ABC45
square
#2A58BC #BC2AA1 #BC8E2A #2ABC45
split-complementary
#2A58BC #BC452A #A1BC2A
monochromatic
#142958 #1F418A #2A58BC #4C78D7 #7E9EE2

Accessibility & contrast

On white

6.52
#2A58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2A58BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58BC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58BC#FFFFFF#000000##FFFFFF
##2A58BC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B65C0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a58bc;
/* rgb */ color: rgb(42, 88, 188);
/* oklch */ color: oklch(48.8% 0.166 263.1);
Tailwind
colors: {
  custom: {
    50: '#7a86d1',
    500: '#2a58bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a58bc;
$custom-light: #7a86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58bc",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 221.096,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48783,
    "c": 0.16586,
    "h": 263.1
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#2A58BC
secondary
#CBB077
accent
#B241E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2A58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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