#2A58BB#2A58BB

#2A58BB is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.165 H 263.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2A58BB
RGBrgb(42, 88, 187)
HSLhsl(221, 63%, 45%)
HSVhsv(221, 78%, 73%)
CMYKcmyk(77.5%, 52.9%, 0%, 26.7%)
CIE-LABlab(39.68, 20.31, -56.67)
CIE-LCHlch(39.68, 60.20, 289.72°)
OKLaboklab(48.71% -0.0201 -0.1633)
OKLCHoklch(48.71% 0.165 263)
XYZxyz(13.4110, 11.0580, 48.4317)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58BB #BB8D2A
analogous
#2AA0BB #2A58BB #452ABB
triadic
#2A58BB #BB2A58 #58BB2A
tetradic
#2A58BB #BB2AA0 #BB8D2A #2ABB45
square
#2A58BB #BB2AA0 #BB8D2A #2ABB45
split-complementary
#2A58BB #BB452A #A0BB2A
monochromatic
#142957 #1F4089 #2A58BB #4C78D7 #7D9DE2

Accessibility & contrast

On white

6.54
#2A58BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2A58BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58BB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58BB#FFFFFF#000000##FFFFFF
##2A58BB1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E64BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a58bb;
/* rgb */ color: rgb(42, 88, 187);
/* oklch */ color: oklch(48.7% 0.165 263.0);
Tailwind
colors: {
  custom: {
    50: '#7986d0',
    500: '#2a58bb',
    950: '#000000',
  },
}
SCSS
$custom: #2a58bb;
$custom-light: #7986d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58bb",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 220.966,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48706,
    "c": 0.16451,
    "h": 263
  },
  "luminance": 0.1106
}

Semantic roles & 50–950 ramp

primary
#2A58BB
secondary
#CAB076
accent
#B241E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2A58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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