#2A58B2#2A58B2

#2A58B2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.0% C 0.152 H 262.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2A58B2
RGBrgb(42, 88, 178)
HSLhsl(220, 62%, 43%)
HSVhsv(220, 76%, 70%)
CMYKcmyk(76.4%, 50.6%, 0%, 30.2%)
CIE-LABlab(39.04, 16.86, -52.42)
CIE-LCHlch(39.04, 55.06, 287.83°)
OKLaboklab(48.02% -0.0211 -0.1507)
OKLCHoklch(48.02% 0.152 262)
XYZxyz(12.4776, 10.6846, 43.5156)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58B2 #B2842A
analogous
#2A9CB2 #2A58B2 #402AB2
triadic
#2A58B2 #B22A58 #58B22A
tetradic
#2A58B2 #B22A9C #B2842A #2AB240
square
#2A58B2 #B22A9C #B2842A #2AB240
split-complementary
#2A58B2 #B2402A #9CB22A
monochromatic
#13274F #1E4080 #2A58B2 #4676D3 #779ADF

Accessibility & contrast

On white

6.69
#2A58B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2A58B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58B2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58B2#FFFFFF#000000##FFFFFF
##2A58B21.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a58b2;
/* rgb */ color: rgb(42, 88, 178);
/* oklch */ color: oklch(48.0% 0.152 262.0);
Tailwind
colors: {
  custom: {
    50: '#7786ca',
    500: '#2a58b2',
    950: '#000000',
  },
}
SCSS
$custom: #2a58b2;
$custom-light: #7786ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58b2",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 219.706,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48022,
    "c": 0.15222,
    "h": 262
  },
  "luminance": 0.10686
}

Semantic roles & 50–950 ramp

primary
#2A58B2
secondary
#C7AA71
accent
#AE43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A58B2

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

Preview Lab → · Contrast checker → · Palette generator →

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