#3951CA#3951CA

#3951CA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.2% C 0.189 H 269.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#3951CA
RGBrgb(57, 81, 202)
HSLhsl(230, 58%, 51%)
HSVhsv(230, 72%, 79%)
CMYKcmyk(71.8%, 59.9%, 0%, 20.8%)
CIE-LABlab(39.61, 32.22, -65.49)
CIE-LCHlch(39.61, 72.98, 296.19°)
OKLaboklab(49.19% -0.0017 -0.189)
OKLCHoklch(49.19% 0.189 269.5)
XYZxyz(15.2868, 11.0174, 57.1866)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3951CA #CAB239
analogous
#3999CA #3951CA #6939CA
triadic
#3951CA #CA3951 #51CA39
tetradic
#3951CA #CA3999 #CAB239 #39CA69
square
#3951CA #CA3999 #CAB239 #39CA69
split-complementary
#3951CA #CA6939 #99CA39
monochromatic
#1D2A6C #2A3D9C #3951CA #697BD7 #9AA6E4

Accessibility & contrast

On white

6.55
#3951CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3951CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3951CA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3951CA#FFFFFF#000000##FFFFFF
##3951CA1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3951ca;
/* rgb */ color: rgb(57, 81, 202);
/* oklch */ color: oklch(49.2% 0.189 269.5);
Tailwind
colors: {
  custom: {
    50: '#8381db',
    500: '#3951ca',
    950: '#000000',
  },
}
SCSS
$custom: #3951ca;
$custom-light: #8381db;
$custom-dark: #000000;
JSON
{
  "hex": "#3951ca",
  "rgb": {
    "r": 57,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 230.069,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49187,
    "c": 0.18901,
    "h": 269.5
  },
  "luminance": 0.11019
}

Semantic roles & 50–950 ramp

primary
#3951CA
secondary
#D0C58F
accent
#C747E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3951CA

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

Preview Lab → · Contrast checker → · Palette generator →

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