#3A61C5#3A61C5

#3A61C5 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.0% C 0.162 H 265.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#3A61C5
RGBrgb(58, 97, 197)
HSLhsl(223, 55%, 50%)
HSVhsv(223, 71%, 77%)
CMYKcmyk(70.6%, 50.8%, 0%, 22.7%)
CIE-LABlab(43.48, 20.26, -56.32)
CIE-LCHlch(43.48, 59.85, 289.78°)
OKLaboklab(51.99% -0.0137 -0.1618)
OKLCHoklch(51.99% 0.162 265.1)
XYZxyz(16.0941, 13.4785, 54.5659)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A61C5 #C59E3A
analogous
#3AA7C5 #3A61C5 #583AC5
triadic
#3A61C5 #C53A61 #61C53A
tetradic
#3A61C5 #C53AA7 #C59E3A #3AC558
square
#3A61C5 #C53AA7 #C59E3A #3AC558
split-complementary
#3A61C5 #C5583A #A7C53A
monochromatic
#1E3266 #2C4A96 #3A61C5 #6987D3 #99ADE1

Accessibility & contrast

On white

5.68
#3A61C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3A61C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A61C5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A61C5#FFFFFF#000000##FFFFFF
##3A61C51.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246DC9
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a61c5;
/* rgb */ color: rgb(58, 97, 197);
/* oklch */ color: oklch(52.0% 0.162 265.1);
Tailwind
colors: {
  custom: {
    50: '#818dd7',
    500: '#3a61c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a61c5;
$custom-light: #818dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a61c5",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 197
  },
  "hsl": {
    "h": 223.165,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.5199,
    "c": 0.16237,
    "h": 265.1
  },
  "luminance": 0.1348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A61C5

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

Preview Lab → · Contrast checker → · Palette generator →

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