#3A58C2#3A58C2

#3A58C2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.9% C 0.169 H 267.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#3A58C2
RGBrgb(58, 88, 194)
HSLhsl(227, 54%, 49%)
HSVhsv(227, 70%, 76%)
CMYKcmyk(70.1%, 54.6%, 0%, 23.9%)
CIE-LABlab(40.85, 24.96, -58.82)
CIE-LCHlch(40.85, 63.90, 292.99°)
OKLaboklab(49.94% -0.0064 -0.1693)
OKLCHoklch(49.94% 0.169 267.8)
XYZxyz(14.9689, 11.7725, 52.5119)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A58C2 #C2A43A
analogous
#3A9CC2 #3A58C2 #603AC2
triadic
#3A58C2 #C23A58 #58C23A
tetradic
#3A58C2 #C23A9C #C2A43A #3AC260
square
#3A58C2 #C23A9C #C2A43A #3AC260
split-complementary
#3A58C2 #C2603A #9CC23A
monochromatic
#1E2D64 #2C4393 #3A58C2 #677FD2 #97A7E0

Accessibility & contrast

On white

6.26
#3A58C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3A58C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A58C2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A58C2#FFFFFF#000000##FFFFFF
##3A58C21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a58c2;
/* rgb */ color: rgb(58, 88, 194);
/* oklch */ color: oklch(49.9% 0.169 267.8);
Tailwind
colors: {
  custom: {
    50: '#8186d5',
    500: '#3a58c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a58c2;
$custom-light: #8186d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a58c2",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 194
  },
  "hsl": {
    "h": 226.765,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49939,
    "c": 0.16942,
    "h": 267.8
  },
  "luminance": 0.11774
}

Semantic roles & 50–950 ramp

primary
#3A58C2
secondary
#CBBD8D
accent
#BD4ADD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3A58C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3A58C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva