#3A61CD#3A61CD

#3A61CD is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.6% C 0.173 H 265.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#3A61CD
RGBrgb(58, 97, 205)
HSLhsl(224, 60%, 52%)
HSVhsv(224, 72%, 80%)
CMYKcmyk(71.7%, 52.7%, 0%, 19.6%)
CIE-LABlab(44.02, 23.18, -60.04)
CIE-LCHlch(44.02, 64.36, 291.11°)
OKLaboklab(52.58% -0.0129 -0.1728)
OKLCHoklch(52.58% 0.173 265.7)
XYZxyz(17.0352, 13.8549, 59.5223)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A61CD #CDA63A
analogous
#3AAACD #3A61CD #5D3ACD
triadic
#3A61CD #CD3A61 #61CD3A
tetradic
#3A61CD #CD3AAA #CDA63A #3ACD5D
square
#3A61CD #CD3AAA #CDA63A #3ACD5D
split-complementary
#3A61CD #CD5D3A #AACD3A
monochromatic
#1C3370 #2949A1 #3A61CD #6B88D9 #9CAFE6

Accessibility & contrast

On white

5.57
#3A61CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#3A61CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A61CD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A61CD#FFFFFF#000000##FFFFFF
##3A61CD1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146FD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3a61cd;
/* rgb */ color: rgb(58, 97, 205);
/* oklch */ color: oklch(52.6% 0.173 265.7);
Tailwind
colors: {
  custom: {
    50: '#838ddd',
    500: '#3a61cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a61cd;
$custom-light: #838ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a61cd",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 224.082,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.17324,
    "h": 265.7
  },
  "luminance": 0.13857
}

Semantic roles & 50–950 ramp

primary
#3A61CD
secondary
#D2C191
accent
#B945E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A61CD

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

Preview Lab → · Contrast checker → · Palette generator →

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