#3A5EC0#3A5EC0

#3A5EC0 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.159 H 265.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3A5EC0
RGBrgb(58, 94, 192)
HSLhsl(224, 54%, 49%)
HSVhsv(224, 70%, 75%)
CMYKcmyk(69.8%, 51%, 0%, 24.7%)
CIE-LABlab(42.32, 20.36, -55.28)
CIE-LCHlch(42.32, 58.91, 290.22°)
OKLaboklab(51.01% -0.0117 -0.1588)
OKLCHoklch(51.01% 0.159 265.8)
XYZxyz(15.2587, 12.7092, 51.5079)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EC0 #C09C3A
analogous
#3AA1C0 #3A5EC0 #593AC0
triadic
#3A5EC0 #C03A5E #5EC03A
tetradic
#3A5EC0 #C03AA1 #C09C3A #3AC059
square
#3A5EC0 #C03AA1 #C09C3A #3AC059
split-complementary
#3A5EC0 #C0593A #A1C03A
monochromatic
#1E3062 #2C4791 #3A5EC0 #6683D1 #95A9DF

Accessibility & contrast

On white

5.93
#3A5EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3A5EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EC0
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EC0#FFFFFF#000000##FFFFFF
##3A5EC01.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226AC4
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a5ec0;
/* rgb */ color: rgb(58, 94, 192);
/* oklch */ color: oklch(51.0% 0.159 265.8);
Tailwind
colors: {
  custom: {
    50: '#808bd4',
    500: '#3a5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ec0;
$custom-light: #808bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ec0",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 223.881,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51005,
    "c": 0.15923,
    "h": 265.8
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#3A5EC0
secondary
#CABA8B
accent
#B64BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3A5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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