#3958BA#3958BA

#3958BA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.159 H 267.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3958BA
RGBrgb(57, 88, 186)
HSLhsl(226, 53%, 48%)
HSVhsv(226, 69%, 73%)
CMYKcmyk(69.4%, 52.7%, 0%, 27.1%)
CIE-LABlab(40.23, 21.90, -55.16)
CIE-LCHlch(40.23, 59.35, 291.65°)
OKLaboklab(49.28% -0.0079 -0.1585)
OKLCHoklch(49.28% 0.159 267.1)
XYZxyz(14.0369, 11.3931, 47.9042)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958BA #BA9B39
analogous
#3999BA #3958BA #5A39BA
triadic
#3958BA #BA3958 #58BA39
tetradic
#3958BA #BA3999 #BA9B39 #39BA5A
square
#3958BA #BA3999 #BA9B39 #39BA5A
split-complementary
#3958BA #BA5A39 #99BA39
monochromatic
#1C2C5C #2B428B #3958BA #617CCF #90A3DD

Accessibility & contrast

On white

6.40
#3958BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3958BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958BA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958BA#FFFFFF#000000##FFFFFF
##3958BA1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1765BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3958ba;
/* rgb */ color: rgb(57, 88, 186);
/* oklch */ color: oklch(49.3% 0.159 267.1);
Tailwind
colors: {
  custom: {
    50: '#7f86cf',
    500: '#3958ba',
    950: '#000000',
  },
}
SCSS
$custom: #3958ba;
$custom-light: #7f86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3958ba",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 225.581,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49279,
    "c": 0.15874,
    "h": 267.1
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#3958BA
secondary
#C8B887
accent
#BA4BDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3958BA

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

Preview Lab → · Contrast checker → · Palette generator →

#3958BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva