#2A58B0#2A58B0

#2A58B0 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.9% C 0.149 H 261.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2A58B0
RGBrgb(42, 88, 176)
HSLhsl(219, 61%, 43%)
HSVhsv(219, 76%, 69%)
CMYKcmyk(76.1%, 50%, 0%, 31%)
CIE-LABlab(38.91, 16.09, -51.46)
CIE-LCHlch(38.91, 53.91, 287.36°)
OKLaboklab(47.87% -0.0214 -0.1479)
OKLCHoklch(47.87% 0.149 261.8)
XYZxyz(12.2782, 10.6049, 42.4657)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58B0 #B0822A
analogous
#2A9BB0 #2A58B0 #3F2AB0
triadic
#2A58B0 #B02A58 #58B02A
tetradic
#2A58B0 #B02A9B #B0822A #2AB03F
square
#2A58B0 #B02A9B #B0822A #2AB03F
split-complementary
#2A58B0 #B03F2A #9BB02A
monochromatic
#12274D #1E3F7F #2A58B0 #4575D3 #769ADE

Accessibility & contrast

On white

6.73
#2A58B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2A58B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58B0
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58B0#FFFFFF#000000##FFFFFF
##2A58B01.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B3
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a58b0;
/* rgb */ color: rgb(42, 88, 176);
/* oklch */ color: oklch(47.9% 0.149 261.8);
Tailwind
colors: {
  custom: {
    50: '#7786c8',
    500: '#2a58b0',
    950: '#000000',
  },
}
SCSS
$custom: #2a58b0;
$custom-light: #7786c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58b0",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 176
  },
  "hsl": {
    "h": 219.403,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47873,
    "c": 0.14947,
    "h": 261.8
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#2A58B0
secondary
#C6A870
accent
#AD43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A58B0

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

Preview Lab → · Contrast checker → · Palette generator →

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