#2A58B1#2A58B1

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

Color values

HEX#2A58B1
RGBrgb(42, 88, 177)
HSLhsl(220, 62%, 43%)
HSVhsv(220, 76%, 69%)
CMYKcmyk(76.3%, 50.3%, 0%, 30.6%)
CIE-LABlab(38.98, 16.47, -51.94)
CIE-LCHlch(38.98, 54.49, 287.60°)
OKLaboklab(47.95% -0.0213 -0.1493)
OKLCHoklch(47.95% 0.151 261.9)
XYZxyz(12.3775, 10.6446, 42.9887)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58B1 #B1832A
analogous
#2A9BB1 #2A58B1 #402AB1
triadic
#2A58B1 #B12A58 #58B12A
tetradic
#2A58B1 #B12A9B #B1832A #2AB140
square
#2A58B1 #B12A9B #B1832A #2AB140
split-complementary
#2A58B1 #B1402A #9BB12A
monochromatic
#13274E #1E3F80 #2A58B1 #4576D3 #779ADF

Accessibility & contrast

On white

6.71
#2A58B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2A58B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58B1
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58B1#FFFFFF#000000##FFFFFF
##2A58B11.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2262B4
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a58b1;
/* rgb */ color: rgb(42, 88, 177);
/* oklch */ color: oklch(47.9% 0.151 261.9);
Tailwind
colors: {
  custom: {
    50: '#7786c9',
    500: '#2a58b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a58b1;
$custom-light: #7786c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58b1",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 177
  },
  "hsl": {
    "h": 219.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47947,
    "c": 0.15084,
    "h": 261.9
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#2A58B1
secondary
#C6A970
accent
#AE43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A58B1

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

Preview Lab → · Contrast checker → · Palette generator →

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