#3958DA#3958DA

#3958DA is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 51.8% C 0.202 H 268.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3958DA
RGBrgb(57, 88, 218)
HSLhsl(228, 69%, 54%)
HSVhsv(228, 74%, 85%)
CMYKcmyk(73.9%, 59.6%, 0%, 14.5%)
CIE-LABlab(42.63, 33.51, -69.76)
CIE-LCHlch(42.63, 77.40, 295.66°)
OKLaboklab(51.82% -0.0065 -0.2015)
OKLCHoklch(51.82% 0.202 268.1)
XYZxyz(17.8276, 12.9093, 67.8683)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958DA #DABB39
analogous
#39A9DA #3958DA #6B39DA
triadic
#3958DA #DA3958 #58DA39
tetradic
#3958DA #DA39A9 #DABB39 #39DA6B
square
#3958DA #DA39A9 #DABB39 #39DA6B
split-complementary
#3958DA #DA6B39 #A9DA39
monochromatic
#182C81 #223EB4 #3958DA #6D83E4 #A0AFED

Accessibility & contrast

On white

5.86
#3958DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3958DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958DA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958DA#FFFFFF#000000##FFFFFF
##3958DA1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3958da;
/* rgb */ color: rgb(57, 88, 218);
/* oklch */ color: oklch(51.8% 0.202 268.1);
Tailwind
colors: {
  custom: {
    50: '#8686e6',
    500: '#3958da',
    950: '#000000',
  },
}
SCSS
$custom: #3958da;
$custom-light: #8686e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3958da",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 228.447,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51824,
    "c": 0.20159,
    "h": 268.1
  },
  "luminance": 0.12911
}

Semantic roles & 50–950 ramp

primary
#3958DA
secondary
#DACD95
accent
#CA3CEB
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3958DA

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

Preview Lab → · Contrast checker → · Palette generator →

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