#2A58B7#2A58B7

#2A58B7 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.159 H 262.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2A58B7
RGBrgb(42, 88, 183)
HSLhsl(220, 63%, 44%)
HSVhsv(220, 77%, 72%)
CMYKcmyk(77%, 51.9%, 0%, 28.2%)
CIE-LABlab(39.39, 18.78, -54.79)
CIE-LCHlch(39.39, 57.92, 288.92°)
OKLaboklab(48.4% -0.0205 -0.1577)
OKLCHoklch(48.4% 0.159 262.6)
XYZxyz(12.9887, 10.8891, 46.2078)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58B7 #B7892A
analogous
#2A9FB7 #2A58B7 #432AB7
triadic
#2A58B7 #B72A58 #58B72A
tetradic
#2A58B7 #B72A9F #B7892A #2AB743
square
#2A58B7 #B72A9F #B7892A #2AB743
split-complementary
#2A58B7 #B7432A #9FB72A
monochromatic
#132853 #1F4085 #2A58B7 #4977D5 #7B9CE1

Accessibility & contrast

On white

6.61
#2A58B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2A58B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58B7
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58B7#FFFFFF#000000##FFFFFF
##2A58B71.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1864BA
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a58b7;
/* rgb */ color: rgb(42, 88, 183);
/* oklch */ color: oklch(48.4% 0.159 262.6);
Tailwind
colors: {
  custom: {
    50: '#7986cd',
    500: '#2a58b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a58b7;
$custom-light: #7986cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58b7",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 183
  },
  "hsl": {
    "h": 220.426,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48399,
    "c": 0.15907,
    "h": 262.6
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#2A58B7
secondary
#C9AD74
accent
#B042E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A58B7

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

Preview Lab → · Contrast checker → · Palette generator →

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