#3A61CA#3A61CA

#3A61CA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.4% C 0.169 H 265.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#3A61CA
RGBrgb(58, 97, 202)
HSLhsl(224, 58%, 51%)
HSVhsv(224, 71%, 79%)
CMYKcmyk(71.3%, 52%, 0%, 20.8%)
CIE-LABlab(43.82, 22.09, -58.65)
CIE-LCHlch(43.82, 62.67, 290.63°)
OKLaboklab(52.36% -0.0132 -0.1687)
OKLCHoklch(52.36% 0.169 265.5)
XYZxyz(16.6765, 13.7115, 57.6334)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A61CA #CAA33A
analogous
#3AA9CA #3A61CA #5B3ACA
triadic
#3A61CA #CA3A61 #61CA3A
tetradic
#3A61CA #CA3AA9 #CAA33A #3ACA5B
square
#3A61CA #CA3AA9 #CAA33A #3ACA5B
split-complementary
#3A61CA #CA5B3A #A9CA3A
monochromatic
#1D336C #2A499D #3A61CA #6A88D7 #9AAEE4

Accessibility & contrast

On white

5.61
#3A61CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3A61CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A61CA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A61CA#FFFFFF#000000##FFFFFF
##3A61CA1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6ECE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3a61ca;
/* rgb */ color: rgb(58, 97, 202);
/* oklch */ color: oklch(52.4% 0.169 265.5);
Tailwind
colors: {
  custom: {
    50: '#828ddb',
    500: '#3a61ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a61ca;
$custom-light: #828ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a61ca",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 223.75,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52358,
    "c": 0.16919,
    "h": 265.5
  },
  "luminance": 0.13713
}

Semantic roles & 50–950 ramp

primary
#3A61CA
secondary
#D0BF90
accent
#B747E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A61CA

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

Preview Lab → · Contrast checker → · Palette generator →

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