#3961CA#3961CA

#3961CA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.3% C 0.169 H 265.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#3961CA
RGBrgb(57, 97, 202)
HSLhsl(223, 58%, 51%)
HSVhsv(223, 72%, 79%)
CMYKcmyk(71.8%, 52%, 0%, 20.8%)
CIE-LABlab(43.77, 21.95, -58.72)
CIE-LCHlch(43.77, 62.69, 290.49°)
OKLaboklab(52.31% -0.014 -0.1689)
OKLCHoklch(52.31% 0.169 265.2)
XYZxyz(16.6190, 13.6818, 57.6307)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961CA #CAA239
analogous
#39AACA #3961CA #5939CA
triadic
#3961CA #CA3961 #61CA39
tetradic
#3961CA #CA39AA #CAA239 #39CA59
square
#3961CA #CA39AA #CAA239 #39CA59
split-complementary
#3961CA #CA5939 #AACA39
monochromatic
#1D336C #2A499C #3961CA #6988D7 #9AAEE4

Accessibility & contrast

On white

5.62
#3961CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3961CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961CA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961CA#FFFFFF#000000##FFFFFF
##3961CA1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3961ca;
/* rgb */ color: rgb(57, 97, 202);
/* oklch */ color: oklch(52.3% 0.169 265.2);
Tailwind
colors: {
  custom: {
    50: '#828ddb',
    500: '#3961ca',
    950: '#000000',
  },
}
SCSS
$custom: #3961ca;
$custom-light: #828ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#3961ca",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 223.448,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52313,
    "c": 0.16948,
    "h": 265.2
  },
  "luminance": 0.13684
}

Semantic roles & 50–950 ramp

primary
#3961CA
secondary
#D0BE8F
accent
#B647E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3961CA

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

Preview Lab → · Contrast checker → · Palette generator →

#3961CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva