#3A58C0#3A58C0

#3A58C0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.167 H 267.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#3A58C0
RGBrgb(58, 88, 192)
HSLhsl(227, 54%, 49%)
HSVhsv(227, 70%, 75%)
CMYKcmyk(69.8%, 54.2%, 0%, 24.7%)
CIE-LABlab(40.71, 24.23, -57.89)
CIE-LCHlch(40.71, 62.76, 292.72°)
OKLaboklab(49.78% -0.0065 -0.1666)
OKLCHoklch(49.78% 0.167 267.8)
XYZxyz(14.7458, 11.6833, 51.3369)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A58C0 #C0A23A
analogous
#3A9BC0 #3A58C0 #5F3AC0
triadic
#3A58C0 #C03A58 #58C03A
tetradic
#3A58C0 #C03A9B #C0A23A #3AC05F
square
#3A58C0 #C03A9B #C0A23A #3AC05F
split-complementary
#3A58C0 #C05F3A #9BC03A
monochromatic
#1E2D62 #2C4291 #3A58C0 #667ED1 #95A6DF

Accessibility & contrast

On white

6.29
#3A58C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3A58C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A58C0
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A58C0#FFFFFF#000000##FFFFFF
##3A58C01.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0466C4
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a58c0;
/* rgb */ color: rgb(58, 88, 192);
/* oklch */ color: oklch(49.8% 0.167 267.8);
Tailwind
colors: {
  custom: {
    50: '#8086d4',
    500: '#3a58c0',
    950: '#000000',
  },
}
SCSS
$custom: #3a58c0;
$custom-light: #8086d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a58c0",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 192
  },
  "hsl": {
    "h": 226.567,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49784,
    "c": 0.1667,
    "h": 267.8
  },
  "luminance": 0.11685
}

Semantic roles & 50–950 ramp

primary
#3A58C0
secondary
#CABC8B
accent
#BC4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3A58C0

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

Preview Lab → · Contrast checker → · Palette generator →

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