#3961A8#3961A8

#3961A8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.0% C 0.122 H 261.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#3961A8
RGBrgb(57, 97, 168)
HSLhsl(218, 49%, 44%)
HSVhsv(218, 66%, 66%)
CMYKcmyk(66.1%, 42.3%, 0%, 34.1%)
CIE-LABlab(41.60, 9.51, -42.37)
CIE-LCHlch(41.60, 43.43, 282.65°)
OKLaboklab(49.96% -0.0191 -0.1208)
OKLCHoklch(49.96% 0.122 261)
XYZxyz(13.0274, 12.2451, 38.7152)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961A8 #A88039
analogous
#3999A8 #3961A8 #4939A8
triadic
#3961A8 #A83961 #61A839
tetradic
#3961A8 #A83999 #A88039 #39A849
square
#3961A8 #A83999 #A88039 #39A849
split-complementary
#3961A8 #A84939 #99A839
monochromatic
#1A2C4D #29477A #3961A8 #5880C6 #86A3D6

Accessibility & contrast

On white

6.09
#3961A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3961A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961A8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961A8#FFFFFF#000000##FFFFFF
##3961A81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AB
Deuteranopia (green-blind)
#2F5DA7
Tritanopia (blue-blind)
#00717C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3961a8;
/* rgb */ color: rgb(57, 97, 168);
/* oklch */ color: oklch(50.0% 0.122 261.0);
Tailwind
colors: {
  custom: {
    50: '#7b8dc2',
    500: '#3961a8',
    950: '#000000',
  },
}
SCSS
$custom: #3961a8;
$custom-light: #7b8dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3961a8",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 168
  },
  "hsl": {
    "h": 218.378,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49955,
    "c": 0.12232,
    "h": 261
  },
  "luminance": 0.12246
}

Semantic roles & 50–950 ramp

primary
#3961A8
secondary
#C0A87D
accent
#A74FD9
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3961A8

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

Preview Lab → · Contrast checker → · Palette generator →

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