#3958AC#3958AC

#3958AC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.139 H 266.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#3958AC
RGBrgb(57, 88, 172)
HSLhsl(224, 50%, 45%)
HSVhsv(224, 67%, 67%)
CMYKcmyk(66.9%, 48.8%, 0%, 32.5%)
CIE-LABlab(39.29, 16.78, -48.45)
CIE-LCHlch(39.29, 51.27, 289.10°)
OKLaboklab(48.26% -0.0095 -0.1388)
OKLCHoklch(48.26% 0.139 266.1)
XYZxyz(12.6209, 10.8267, 40.4464)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958AC #AC8D39
analogous
#3992AC #3958AC #5439AC
triadic
#3958AC #AC3958 #58AC39
tetradic
#3958AC #AC3992 #AC8D39 #39AC54
square
#3958AC #AC3992 #AC8D39 #39AC54
split-complementary
#3958AC #AC5439 #92AC39
monochromatic
#1B2950 #2A407E #3958AC #5A78C8 #889DD8

Accessibility & contrast

On white

6.63
#3958AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3958AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958AC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958AC#FFFFFF#000000##FFFFFF
##3958AC1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62AF
Deuteranopia (green-blind)
#0F58AA
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3958ac;
/* rgb */ color: rgb(57, 88, 172);
/* oklch */ color: oklch(48.3% 0.139 266.1);
Tailwind
colors: {
  custom: {
    50: '#7c86c5',
    500: '#3958ac',
    950: '#000000',
  },
}
SCSS
$custom: #3958ac;
$custom-light: #7c86c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3958ac",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 223.826,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.13912,
    "h": 266.1
  },
  "luminance": 0.10828
}

Semantic roles & 50–950 ramp

primary
#3958AC
secondary
#C2B07F
accent
#B44EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3958AC

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

Preview Lab → · Contrast checker → · Palette generator →

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