#3A61C4#3A61C4

#3A61C4 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.9% C 0.161 H 265.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#3A61C4
RGBrgb(58, 97, 196)
HSLhsl(223, 54%, 50%)
HSVhsv(223, 70%, 77%)
CMYKcmyk(70.4%, 50.5%, 0%, 23.1%)
CIE-LABlab(43.41, 19.89, -55.85)
CIE-LCHlch(43.41, 59.28, 289.60°)
OKLaboklab(51.92% -0.0138 -0.1604)
OKLCHoklch(51.92% 0.161 265.1)
XYZxyz(15.9799, 13.4328, 53.9645)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A61C4 #C49D3A
analogous
#3AA6C4 #3A61C4 #583AC4
triadic
#3A61C4 #C43A61 #61C43A
tetradic
#3A61C4 #C43AA6 #C49D3A #3AC458
square
#3A61C4 #C43AA6 #C49D3A #3AC458
split-complementary
#3A61C4 #C4583A #A6C43A
monochromatic
#1E3266 #2C4A95 #3A61C4 #6987D3 #98ACE0

Accessibility & contrast

On white

5.70
#3A61C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3A61C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A61C4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A61C4#FFFFFF#000000##FFFFFF
##3A61C41.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266DC8
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a61c4;
/* rgb */ color: rgb(58, 97, 196);
/* oklch */ color: oklch(51.9% 0.161 265.1);
Tailwind
colors: {
  custom: {
    50: '#818dd6',
    500: '#3a61c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a61c4;
$custom-light: #818dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a61c4",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 196
  },
  "hsl": {
    "h": 223.043,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51918,
    "c": 0.16101,
    "h": 265.1
  },
  "luminance": 0.13434
}

Semantic roles & 50–950 ramp

primary
#3A61C4
secondary
#CCBA8E
accent
#B44ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3A61C4

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

Preview Lab → · Contrast checker → · Palette generator →

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