#2A58C2#2A58C2

#2A58C2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.174 H 263.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2A58C2
RGBrgb(42, 88, 194)
HSLhsl(222, 64%, 46%)
HSVhsv(222, 78%, 76%)
CMYKcmyk(78.4%, 54.6%, 0%, 23.9%)
CIE-LABlab(40.19, 22.98, -59.93)
CIE-LCHlch(40.19, 64.18, 290.98°)
OKLaboklab(49.25% -0.0194 -0.1728)
OKLCHoklch(49.25% 0.174 263.6)
XYZxyz(14.1787, 11.3651, 52.4749)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58C2 #C2942A
analogous
#2AA4C2 #2A58C2 #482AC2
triadic
#2A58C2 #C22A58 #58C22A
tetradic
#2A58C2 #C22AA4 #C2942A #2AC248
square
#2A58C2 #C22AA4 #C2942A #2AC248
split-complementary
#2A58C2 #C2482A #A4C22A
monochromatic
#142A5D #1F4190 #2A58C2 #507AD9 #82A0E4

Accessibility & contrast

On white

6.42
#2A58C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2A58C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58C2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58C2#FFFFFF#000000##FFFFFF
##2A58C21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a58c2;
/* rgb */ color: rgb(42, 88, 194);
/* oklch */ color: oklch(49.3% 0.174 263.6);
Tailwind
colors: {
  custom: {
    50: '#7b86d5',
    500: '#2a58c2',
    950: '#000000',
  },
}
SCSS
$custom: #2a58c2;
$custom-light: #7b86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58c2",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 194
  },
  "hsl": {
    "h": 221.842,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49254,
    "c": 0.17394,
    "h": 263.6
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#2A58C2
secondary
#CDB47B
accent
#B540E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2A58C2

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

Preview Lab → · Contrast checker → · Palette generator →

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