#2A58B6#2A58B6

#2A58B6 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.158 H 262.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2A58B6
RGBrgb(42, 88, 182)
HSLhsl(220, 63%, 44%)
HSVhsv(220, 77%, 71%)
CMYKcmyk(76.9%, 51.6%, 0%, 28.6%)
CIE-LABlab(39.32, 18.39, -54.32)
CIE-LCHlch(39.32, 57.35, 288.71°)
OKLaboklab(48.32% -0.0206 -0.1563)
OKLCHoklch(48.32% 0.158 262.5)
XYZxyz(12.8850, 10.8476, 45.6616)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58B6 #B6882A
analogous
#2A9EB6 #2A58B6 #422AB6
triadic
#2A58B6 #B62A58 #58B62A
tetradic
#2A58B6 #B62A9E #B6882A #2AB642
square
#2A58B6 #B62A9E #B6882A #2AB642
split-complementary
#2A58B6 #B6422A #9EB62A
monochromatic
#132853 #1F4084 #2A58B6 #4877D5 #7A9CE0

Accessibility & contrast

On white

6.63
#2A58B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2A58B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58B6
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58B6#FFFFFF#000000##FFFFFF
##2A58B61.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A63B9
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a58b6;
/* rgb */ color: rgb(42, 88, 182);
/* oklch */ color: oklch(48.3% 0.158 262.5);
Tailwind
colors: {
  custom: {
    50: '#7886cc',
    500: '#2a58b6',
    950: '#000000',
  },
}
SCSS
$custom: #2a58b6;
$custom-light: #7886cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58b6",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 182
  },
  "hsl": {
    "h": 220.286,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48323,
    "c": 0.1577,
    "h": 262.5
  },
  "luminance": 0.10849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A58B6

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

Preview Lab → · Contrast checker → · Palette generator →

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