#2A58C1#2A58C1

#2A58C1 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.173 H 263.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#2A58C1
RGBrgb(42, 88, 193)
HSLhsl(222, 64%, 46%)
HSVhsv(222, 78%, 76%)
CMYKcmyk(78.2%, 54.4%, 0%, 24.3%)
CIE-LABlab(40.11, 22.60, -59.47)
CIE-LCHlch(40.11, 63.62, 290.81°)
OKLaboklab(49.18% -0.0195 -0.1715)
OKLCHoklch(49.18% 0.173 263.5)
XYZxyz(14.0668, 11.3203, 51.8854)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58C1 #C1932A
analogous
#2AA3C1 #2A58C1 #472AC1
triadic
#2A58C1 #C12A58 #58C12A
tetradic
#2A58C1 #C12AA3 #C1932A #2AC147
square
#2A58C1 #C12AA3 #C1932A #2AC147
split-complementary
#2A58C1 #C1472A #A3C12A
monochromatic
#142A5C #1F418F #2A58C1 #4F79D9 #82A0E4

Accessibility & contrast

On white

6.43
#2A58C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2A58C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58C1
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58C1#FFFFFF#000000##FFFFFF
##2A58C11.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a58c1;
/* rgb */ color: rgb(42, 88, 193);
/* oklch */ color: oklch(49.2% 0.173 263.5);
Tailwind
colors: {
  custom: {
    50: '#7b86d4',
    500: '#2a58c1',
    950: '#000000',
  },
}
SCSS
$custom: #2a58c1;
$custom-light: #7b86d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58c1",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 193
  },
  "hsl": {
    "h": 221.722,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49175,
    "c": 0.1726,
    "h": 263.5
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#2A58C1
secondary
#CDB37A
accent
#B441E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2A58C1

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

Preview Lab → · Contrast checker → · Palette generator →

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