#3A61CC#3A61CC

#3A61CC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.172 H 265.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#3A61CC
RGBrgb(58, 97, 204)
HSLhsl(224, 59%, 51%)
HSVhsv(224, 72%, 80%)
CMYKcmyk(71.6%, 52.5%, 0%, 20%)
CIE-LABlab(43.95, 22.82, -59.58)
CIE-LCHlch(43.95, 63.80, 290.96°)
OKLaboklab(52.51% -0.013 -0.1714)
OKLCHoklch(52.51% 0.172 265.7)
XYZxyz(16.9149, 13.8068, 58.8886)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A61CC #CCA53A
analogous
#3AAACC #3A61CC #5C3ACC
triadic
#3A61CC #CC3A61 #61CC3A
tetradic
#3A61CC #CC3AAA #CCA53A #3ACC5C
square
#3A61CC #CC3AAA #CCA53A #3ACC5C
split-complementary
#3A61CC #CC5C3A #AACC3A
monochromatic
#1D336F #2949A0 #3A61CC #6B88D9 #9BAFE5

Accessibility & contrast

On white

5.58
#3A61CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#3A61CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A61CC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A61CC#FFFFFF#000000##FFFFFF
##3A61CC1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176FD0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3a61cc;
/* rgb */ color: rgb(58, 97, 204);
/* oklch */ color: oklch(52.5% 0.172 265.7);
Tailwind
colors: {
  custom: {
    50: '#828ddc',
    500: '#3a61cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a61cc;
$custom-light: #828ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a61cc",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 204
  },
  "hsl": {
    "h": 223.973,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52506,
    "c": 0.17189,
    "h": 265.7
  },
  "luminance": 0.13809
}

Semantic roles & 50–950 ramp

primary
#3A61CC
secondary
#D1C091
accent
#B846E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A61CC

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

Preview Lab → · Contrast checker → · Palette generator →

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