#3958A2#3958A2

#3958A2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.6% C 0.125 H 264.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3958A2
RGBrgb(57, 88, 162)
HSLhsl(222, 48%, 43%)
HSVhsv(222, 65%, 64%)
CMYKcmyk(64.8%, 45.7%, 0%, 36.5%)
CIE-LABlab(38.65, 13.14, -43.53)
CIE-LCHlch(38.65, 45.47, 286.79°)
OKLaboklab(47.56% -0.011 -0.1243)
OKLCHoklch(47.56% 0.125 264.9)
XYZxyz(11.6964, 10.4569, 35.5774)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958A2 #A28339
analogous
#398CA2 #3958A2 #4F39A2
triadic
#3958A2 #A23958 #58A239
tetradic
#3958A2 #A2398C #A28339 #39A24F
square
#3958A2 #A2398C #A28339 #39A24F
split-complementary
#3958A2 #A24F39 #8CA239
monochromatic
#192747 #293F75 #3958A2 #5576C3 #829AD3

Accessibility & contrast

On white

6.79
#3958A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3958A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958A2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958A2#FFFFFF#000000##FFFFFF
##3958A21.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#2357A0
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3958a2;
/* rgb */ color: rgb(57, 88, 162);
/* oklch */ color: oklch(47.6% 0.125 264.9);
Tailwind
colors: {
  custom: {
    50: '#7a86be',
    500: '#3958a2',
    950: '#000000',
  },
}
SCSS
$custom: #3958a2;
$custom-light: #7a86be;
$custom-dark: #000000;
JSON
{
  "hex": "#3958a2",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 222.286,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47564,
    "c": 0.12483,
    "h": 264.9
  },
  "luminance": 0.10458
}

Semantic roles & 50–950 ramp

primary
#3958A2
secondary
#BDA97A
accent
#B050D8
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3958A2

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

Preview Lab → · Contrast checker → · Palette generator →

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