#3958C3#3958C3

#3958C3 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.171 H 267.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3958C3
RGBrgb(57, 88, 195)
HSLhsl(227, 55%, 49%)
HSVhsv(227, 71%, 76%)
CMYKcmyk(70.8%, 54.9%, 0%, 23.5%)
CIE-LABlab(40.88, 25.19, -59.36)
CIE-LCHlch(40.88, 64.49, 292.99°)
OKLaboklab(49.97% -0.0072 -0.1709)
OKLCHoklch(49.97% 0.171 267.6)
XYZxyz(15.0240, 11.7879, 53.1027)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958C3 #C3A439
analogous
#399DC3 #3958C3 #5F39C3
triadic
#3958C3 #C33958 #58C339
tetradic
#3958C3 #C3399D #C3A439 #39C35F
square
#3958C3 #C3399D #C3A439 #39C35F
split-complementary
#3958C3 #C35F39 #9DC339
monochromatic
#1D2D64 #2B4394 #3958C3 #677FD2 #96A7E0

Accessibility & contrast

On white

6.25
#3958C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3958C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958C3
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958C3#FFFFFF#000000##FFFFFF
##3958C31.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3958c3;
/* rgb */ color: rgb(57, 88, 195);
/* oklch */ color: oklch(50.0% 0.171 267.6);
Tailwind
colors: {
  custom: {
    50: '#8186d6',
    500: '#3958c3',
    950: '#000000',
  },
}
SCSS
$custom: #3958c3;
$custom-light: #8186d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3958c3",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 195
  },
  "hsl": {
    "h": 226.522,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49967,
    "c": 0.17107,
    "h": 267.6
  },
  "luminance": 0.11789
}

Semantic roles & 50–950 ramp

primary
#3958C3
secondary
#CCBD8C
accent
#BD4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3958C3

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

Preview Lab → · Contrast checker → · Palette generator →

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