#2A58C3#2A58C3

#2A58C3 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.175 H 263.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#2A58C3
RGBrgb(42, 88, 195)
HSLhsl(222, 65%, 46%)
HSVhsv(222, 78%, 76%)
CMYKcmyk(78.5%, 54.9%, 0%, 23.5%)
CIE-LABlab(40.26, 23.37, -60.39)
CIE-LCHlch(40.26, 64.75, 291.15°)
OKLaboklab(49.33% -0.0194 -0.1742)
OKLCHoklch(49.33% 0.175 263.7)
XYZxyz(14.2914, 11.4102, 53.0683)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58C3 #C3952A
analogous
#2AA5C3 #2A58C3 #492AC3
triadic
#2A58C3 #C32A58 #58C32A
tetradic
#2A58C3 #C32AA5 #C3952A #2AC349
square
#2A58C3 #C32AA5 #C3952A #2AC349
split-complementary
#2A58C3 #C3492A #A5C32A
monochromatic
#142B5E #1F4191 #2A58C3 #517AD9 #83A0E4

Accessibility & contrast

On white

6.40
#2A58C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2A58C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58C3
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58C3#FFFFFF#000000##FFFFFF
##2A58C31.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a58c3;
/* rgb */ color: rgb(42, 88, 195);
/* oklch */ color: oklch(49.3% 0.175 263.7);
Tailwind
colors: {
  custom: {
    50: '#7b86d6',
    500: '#2a58c3',
    950: '#000000',
  },
}
SCSS
$custom: #2a58c3;
$custom-light: #7b86d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58c3",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 195
  },
  "hsl": {
    "h": 221.961,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.17527,
    "h": 263.7
  },
  "luminance": 0.11412
}

Semantic roles & 50–950 ramp

primary
#2A58C3
secondary
#CDB57B
accent
#B540E8
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2A58C3

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

Preview Lab → · Contrast checker → · Palette generator →

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