#3958DE#3958DE

#3958DE is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.2% C 0.207 H 268.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3958DE
RGBrgb(57, 88, 222)
HSLhsl(229, 71%, 55%)
HSVhsv(229, 74%, 87%)
CMYKcmyk(74.3%, 60.4%, 0%, 12.9%)
CIE-LABlab(42.95, 34.94, -71.52)
CIE-LCHlch(42.95, 79.60, 296.04°)
OKLaboklab(52.16% -0.0065 -0.2066)
OKLCHoklch(52.16% 0.207 268.2)
XYZxyz(18.3573, 13.1212, 70.6583)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958DE #DEBF39
analogous
#39ABDE #3958DE #6C39DE
triadic
#3958DE #DE3958 #58DE39
tetradic
#3958DE #DE39AB #DEBF39 #39DE6C
square
#3958DE #DE39AB #DEBF39 #39DE6C
split-complementary
#3958DE #DE6C39 #ABDE39
monochromatic
#162B86 #1F3CBB #3958DE #6D84E7 #A2B0EF

Accessibility & contrast

On white

5.79
#3958DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3958DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958DE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958DE#FFFFFF#000000##FFFFFF
##3958DE1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#005EDB
Tritanopia (blue-blind)
#007A93
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3958de;
/* rgb */ color: rgb(57, 88, 222);
/* oklch */ color: oklch(52.2% 0.207 268.2);
Tailwind
colors: {
  custom: {
    50: '#8786e9',
    500: '#3958de',
    950: '#000000',
  },
}
SCSS
$custom: #3958de;
$custom-light: #8786e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3958de",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 228.727,
    "s": 71.429,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.20674,
    "h": 268.2
  },
  "luminance": 0.13123
}

Semantic roles & 50–950 ramp

primary
#3958DE
secondary
#DCCF97
accent
#CC3AEE
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3958DE

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

Preview Lab → · Contrast checker → · Palette generator →

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