#2A58B8#2A58B8

#2A58B8 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.160 H 262.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2A58B8
RGBrgb(42, 88, 184)
HSLhsl(221, 63%, 44%)
HSVhsv(221, 77%, 72%)
CMYKcmyk(77.2%, 52.2%, 0%, 27.8%)
CIE-LABlab(39.46, 19.16, -55.26)
CIE-LCHlch(39.46, 58.49, 289.12°)
OKLaboklab(48.48% -0.0204 -0.1591)
OKLCHoklch(48.48% 0.16 262.7)
XYZxyz(13.0932, 10.9309, 46.7579)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58B8 #B88A2A
analogous
#2A9FB8 #2A58B8 #432AB8
triadic
#2A58B8 #B82A58 #58B82A
tetradic
#2A58B8 #B82A9F #B88A2A #2AB843
square
#2A58B8 #B82A9F #B88A2A #2AB843
split-complementary
#2A58B8 #B8432A #9FB82A
monochromatic
#132854 #1F4086 #2A58B8 #4A77D6 #7B9CE1

Accessibility & contrast

On white

6.59
#2A58B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2A58B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58B8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58B8#FFFFFF#000000##FFFFFF
##2A58B81.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1664BB
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a58b8;
/* rgb */ color: rgb(42, 88, 184);
/* oklch */ color: oklch(48.5% 0.160 262.7);
Tailwind
colors: {
  custom: {
    50: '#7986ce',
    500: '#2a58b8',
    950: '#000000',
  },
}
SCSS
$custom: #2a58b8;
$custom-light: #7986ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58b8",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 184
  },
  "hsl": {
    "h": 220.563,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48475,
    "c": 0.16043,
    "h": 262.7
  },
  "luminance": 0.10932
}

Semantic roles & 50–950 ramp

primary
#2A58B8
secondary
#C9AE75
accent
#B142E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2A58B8

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

Preview Lab → · Contrast checker → · Palette generator →

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