#3A61D5#3A61D5

#3A61D5 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.2% C 0.184 H 266.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#3A61D5
RGBrgb(58, 97, 213)
HSLhsl(225, 65%, 53%)
HSVhsv(225, 73%, 84%)
CMYKcmyk(72.8%, 54.5%, 0%, 16.5%)
CIE-LABlab(44.59, 26.10, -63.71)
CIE-LCHlch(44.59, 68.85, 292.28°)
OKLaboklab(53.19% -0.0123 -0.1835)
OKLCHoklch(53.19% 0.184 266.2)
XYZxyz(18.0257, 14.2511, 64.7386)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A61D5 #D5AE3A
analogous
#3AAFD5 #3A61D5 #603AD5
triadic
#3A61D5 #D53A61 #61D53A
tetradic
#3A61D5 #D53AAF #D5AE3A #3AD560
square
#3A61D5 #D53AAF #D5AE3A #3AD560
split-complementary
#3A61D5 #D5603A #AFD53A
monochromatic
#1A327A #2547AD #3A61D5 #6C89E0 #9FB2EB

Accessibility & contrast

On white

5.45
#3A61D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#3A61D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A61D5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A61D5#FFFFFF#000000##FFFFFF
##3A61D51.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0063D3
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3a61d5;
/* rgb */ color: rgb(58, 97, 213);
/* oklch */ color: oklch(53.2% 0.184 266.2);
Tailwind
colors: {
  custom: {
    50: '#848de3',
    500: '#3a61d5',
    950: '#000000',
  },
}
SCSS
$custom: #3a61d5;
$custom-light: #848de3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a61d5",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 213
  },
  "hsl": {
    "h": 224.903,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53189,
    "c": 0.18395,
    "h": 266.2
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#3A61D5
secondary
#D7C694
accent
#BE40E8
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0C15
muted
#7D7D84

Preview Lab

Preview with #3A61D5

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

Preview Lab → · Contrast checker → · Palette generator →

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