#3958B2#3958B2

#3958B2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.148 H 266.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#3958B2
RGBrgb(57, 88, 178)
HSLhsl(225, 51%, 46%)
HSVhsv(225, 68%, 70%)
CMYKcmyk(68%, 50.6%, 0%, 30.2%)
CIE-LABlab(39.69, 18.97, -51.35)
CIE-LCHlch(39.69, 54.74, 290.28°)
OKLaboklab(48.69% -0.0087 -0.1473)
OKLCHoklch(48.69% 0.148 266.6)
XYZxyz(13.2102, 11.0624, 43.5499)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958B2 #B29339
analogous
#3994B2 #3958B2 #5639B2
triadic
#3958B2 #B23958 #58B239
tetradic
#3958B2 #B23994 #B29339 #39B256
square
#3958B2 #B23994 #B29339 #39B256
split-complementary
#3958B2 #B25639 #94B239
monochromatic
#1B2A55 #2A4184 #3958B2 #5D79CB #8BA0DA

Accessibility & contrast

On white

6.54
#3958B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3958B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958B2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958B2#FFFFFF#000000##FFFFFF
##3958B21.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3958b2;
/* rgb */ color: rgb(57, 88, 178);
/* oklch */ color: oklch(48.7% 0.148 266.6);
Tailwind
colors: {
  custom: {
    50: '#7d86ca',
    500: '#3958b2',
    950: '#000000',
  },
}
SCSS
$custom: #3958b2;
$custom-light: #7d86ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3958b2",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 224.628,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.1476,
    "h": 266.6
  },
  "luminance": 0.11064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3958B2

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

Preview Lab → · Contrast checker → · Palette generator →

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