#3959A8#3959A8

#3959A8 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.2% C 0.132 H 265.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#3959A8
RGBrgb(57, 89, 168)
HSLhsl(223, 49%, 44%)
HSVhsv(223, 66%, 66%)
CMYKcmyk(66.1%, 47%, 0%, 34.1%)
CIE-LABlab(39.31, 14.67, -46.04)
CIE-LCHlch(39.31, 48.32, 287.67°)
OKLaboklab(48.19% -0.011 -0.1317)
OKLCHoklch(48.19% 0.132 265.2)
XYZxyz(12.3251, 10.8406, 38.4811)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959A8 #A88839
analogous
#3991A8 #3959A8 #5139A8
triadic
#3959A8 #A83959 #59A839
tetradic
#3959A8 #A83991 #A88839 #39A851
square
#3959A8 #A83991 #A88839 #39A851
split-complementary
#3959A8 #A85139 #91A839
monochromatic
#1A294D #29417A #3959A8 #5878C6 #869DD6

Accessibility & contrast

On white

6.63
#3959A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3959A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959A8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959A8#FFFFFF#000000##FFFFFF
##3959A81.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#1C58A6
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3959a8;
/* rgb */ color: rgb(57, 89, 168);
/* oklch */ color: oklch(48.2% 0.132 265.2);
Tailwind
colors: {
  custom: {
    50: '#7b87c2',
    500: '#3959a8',
    950: '#000000',
  },
}
SCSS
$custom: #3959a8;
$custom-light: #7b87c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3959a8",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 168
  },
  "hsl": {
    "h": 222.703,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48191,
    "c": 0.13216,
    "h": 265.2
  },
  "luminance": 0.10842
}

Semantic roles & 50–950 ramp

primary
#3959A8
secondary
#C0AD7D
accent
#B14FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3959A8

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

Preview Lab → · Contrast checker → · Palette generator →

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