#3A61CB#3A61CB

#3A61CB is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.4% C 0.171 H 265.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#3A61CB
RGBrgb(58, 97, 203)
HSLhsl(224, 58%, 51%)
HSVhsv(224, 71%, 80%)
CMYKcmyk(71.4%, 52.2%, 0%, 20.4%)
CIE-LABlab(43.89, 22.45, -59.12)
CIE-LCHlch(43.89, 63.24, 290.80°)
OKLaboklab(52.43% -0.0131 -0.17)
OKLCHoklch(52.43% 0.171 265.6)
XYZxyz(16.7953, 13.7590, 58.2589)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A61CB #CBA43A
analogous
#3AA9CB #3A61CB #5B3ACB
triadic
#3A61CB #CB3A61 #61CB3A
tetradic
#3A61CB #CB3AA9 #CBA43A #3ACB5B
square
#3A61CB #CB3AA9 #CBA43A #3ACB5B
split-complementary
#3A61CB #CB5B3A #A9CB3A
monochromatic
#1D336E #2A499E #3A61CB #6A88D8 #9BAFE5

Accessibility & contrast

On white

5.60
#3A61CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3A61CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A61CB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A61CB#FFFFFF#000000##FFFFFF
##3A61CB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196FCF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3a61cb;
/* rgb */ color: rgb(58, 97, 203);
/* oklch */ color: oklch(52.4% 0.171 265.6);
Tailwind
colors: {
  custom: {
    50: '#828ddc',
    500: '#3a61cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a61cb;
$custom-light: #828ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a61cb",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 203
  },
  "hsl": {
    "h": 223.862,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52432,
    "c": 0.17053,
    "h": 265.6
  },
  "luminance": 0.13761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A61CB

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

Preview Lab → · Contrast checker → · Palette generator →

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