#3A5FC0#3A5FC0

#3A5FC0 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.2% C 0.158 H 265.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3A5FC0
RGBrgb(58, 95, 192)
HSLhsl(223, 54%, 49%)
HSVhsv(223, 70%, 75%)
CMYKcmyk(69.8%, 50.5%, 0%, 24.7%)
CIE-LABlab(42.59, 19.71, -54.84)
CIE-LCHlch(42.59, 58.28, 289.77°)
OKLaboklab(51.21% -0.0125 -0.1575)
OKLCHoklch(51.21% 0.158 265.4)
XYZxyz(15.3482, 12.8882, 51.5377)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5FC0 #C09B3A
analogous
#3AA2C0 #3A5FC0 #583AC0
triadic
#3A5FC0 #C03A5F #5FC03A
tetradic
#3A5FC0 #C03AA2 #C09B3A #3AC058
square
#3A5FC0 #C03AA2 #C09B3A #3AC058
split-complementary
#3A5FC0 #C0583A #A2C03A
monochromatic
#1E3062 #2C4891 #3A5FC0 #6684D1 #95AADF

Accessibility & contrast

On white

5.87
#3A5FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3A5FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5FC0
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5FC0#FFFFFF#000000##FFFFFF
##3A5FC01.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256BC3
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a5fc0;
/* rgb */ color: rgb(58, 95, 192);
/* oklch */ color: oklch(51.2% 0.158 265.4);
Tailwind
colors: {
  custom: {
    50: '#808bd4',
    500: '#3a5fc0',
    950: '#000000',
  },
}
SCSS
$custom: #3a5fc0;
$custom-light: #808bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5fc0",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 223.433,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51213,
    "c": 0.15799,
    "h": 265.4
  },
  "luminance": 0.1289
}

Semantic roles & 50–950 ramp

primary
#3A5FC0
secondary
#CAB98B
accent
#B54BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3A5FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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