#3958C2#3958C2

#3958C2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.170 H 267.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#3958C2
RGBrgb(57, 88, 194)
HSLhsl(226, 55%, 49%)
HSVhsv(226, 71%, 76%)
CMYKcmyk(70.6%, 54.6%, 0%, 23.9%)
CIE-LABlab(40.80, 24.82, -58.90)
CIE-LCHlch(40.80, 63.92, 292.85°)
OKLaboklab(49.89% -0.0073 -0.1696)
OKLCHoklch(49.89% 0.17 267.5)
XYZxyz(14.9113, 11.7428, 52.5092)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958C2 #C2A339
analogous
#399DC2 #3958C2 #5E39C2
triadic
#3958C2 #C23958 #58C239
tetradic
#3958C2 #C2399D #C2A339 #39C25E
square
#3958C2 #C2399D #C2A339 #39C25E
split-complementary
#3958C2 #C25E39 #9DC239
monochromatic
#1D2D63 #2B4393 #3958C2 #667FD2 #95A6E0

Accessibility & contrast

On white

6.27
#3958C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3958C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958C2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958C2#FFFFFF#000000##FFFFFF
##3958C21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3958c2;
/* rgb */ color: rgb(57, 88, 194);
/* oklch */ color: oklch(49.9% 0.170 267.5);
Tailwind
colors: {
  custom: {
    50: '#8086d5',
    500: '#3958c2',
    950: '#000000',
  },
}
SCSS
$custom: #3958c2;
$custom-light: #8086d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3958c2",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 194
  },
  "hsl": {
    "h": 226.423,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49889,
    "c": 0.16972,
    "h": 267.5
  },
  "luminance": 0.11744
}

Semantic roles & 50–950 ramp

primary
#3958C2
secondary
#CBBD8B
accent
#BC4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3958C2

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

Preview Lab → · Contrast checker → · Palette generator →

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