#3958B3#3958B3

#3958B3 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.149 H 266.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#3958B3
RGBrgb(57, 88, 179)
HSLhsl(225, 52%, 46%)
HSVhsv(225, 68%, 70%)
CMYKcmyk(68.2%, 50.8%, 0%, 29.8%)
CIE-LABlab(39.75, 19.34, -51.83)
CIE-LCHlch(39.75, 55.32, 290.46°)
OKLaboklab(48.76% -0.0086 -0.1487)
OKLCHoklch(48.76% 0.149 266.7)
XYZxyz(13.3109, 11.1027, 44.0806)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958B3 #B39439
analogous
#3995B3 #3958B3 #5739B3
triadic
#3958B3 #B33958 #58B339
tetradic
#3958B3 #B33995 #B39439 #39B357
square
#3958B3 #B33995 #B39439 #39B357
split-complementary
#3958B3 #B35739 #95B339
monochromatic
#1B2A56 #2A4185 #3958B3 #5E7ACC #8CA0DA

Accessibility & contrast

On white

6.52
#3958B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3958B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958B3
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958B3#FFFFFF#000000##FFFFFF
##3958B31.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2364B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3958b3;
/* rgb */ color: rgb(57, 88, 179);
/* oklch */ color: oklch(48.8% 0.149 266.7);
Tailwind
colors: {
  custom: {
    50: '#7d86ca',
    500: '#3958b3',
    950: '#000000',
  },
}
SCSS
$custom: #3958b3;
$custom-light: #7d86ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3958b3",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 179
  },
  "hsl": {
    "h": 224.754,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4876,
    "c": 0.149,
    "h": 266.7
  },
  "luminance": 0.11104
}

Semantic roles & 50–950 ramp

primary
#3958B3
secondary
#C5B483
accent
#B74DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3958B3

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

Preview Lab → · Contrast checker → · Palette generator →

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