#3959CA#3959CA

#3959CA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.7% C 0.179 H 267.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#3959CA
RGBrgb(57, 89, 202)
HSLhsl(227, 58%, 51%)
HSVhsv(227, 72%, 79%)
CMYKcmyk(71.8%, 55.9%, 0%, 20.8%)
CIE-LABlab(41.65, 27.09, -62.16)
CIE-LCHlch(41.65, 67.81, 293.55°)
OKLaboklab(50.71% -0.0076 -0.1791)
OKLCHoklch(50.71% 0.179 267.6)
XYZxyz(15.9167, 12.2772, 57.3966)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959CA #CAAA39
analogous
#39A1CA #3959CA #6139CA
triadic
#3959CA #CA3959 #59CA39
tetradic
#3959CA #CA39A1 #CAAA39 #39CA61
square
#3959CA #CA39A1 #CAAA39 #39CA61
split-complementary
#3959CA #CA6139 #A1CA39
monochromatic
#1D2E6C #2A439C #3959CA #6981D7 #9AAAE4

Accessibility & contrast

On white

6.08
#3959CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3959CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959CA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959CA#FFFFFF#000000##FFFFFF
##3959CA1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3959ca;
/* rgb */ color: rgb(57, 89, 202);
/* oklch */ color: oklch(50.7% 0.179 267.6);
Tailwind
colors: {
  custom: {
    50: '#8287db',
    500: '#3959ca',
    950: '#000000',
  },
}
SCSS
$custom: #3959ca;
$custom-light: #8287db;
$custom-dark: #000000;
JSON
{
  "hex": "#3959ca",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 226.759,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50713,
    "c": 0.17929,
    "h": 267.6
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

primary
#3959CA
secondary
#D0C18F
accent
#BF47E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3959CA

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

Preview Lab → · Contrast checker → · Palette generator →

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