#3958B8#3958B8

#3958B8 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.1% C 0.156 H 267.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#3958B8
RGBrgb(57, 88, 184)
HSLhsl(225, 53%, 47%)
HSVhsv(225, 69%, 72%)
CMYKcmyk(69%, 52.2%, 0%, 27.8%)
CIE-LABlab(40.10, 21.17, -54.21)
CIE-LCHlch(40.10, 58.20, 291.33°)
OKLaboklab(49.13% -0.0081 -0.1558)
OKLCHoklch(49.13% 0.156 267)
XYZxyz(13.8258, 11.3086, 46.7923)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958B8 #B89939
analogous
#3998B8 #3958B8 #5939B8
triadic
#3958B8 #B83958 #58B839
tetradic
#3958B8 #B83998 #B89939 #39B859
square
#3958B8 #B83998 #B89939 #39B859
split-complementary
#3958B8 #B85939 #98B839
monochromatic
#1C2B5B #2B4289 #3958B8 #607BCE #8FA2DC

Accessibility & contrast

On white

6.44
#3958B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3958B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958B8
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958B8#FFFFFF#000000##FFFFFF
##3958B81.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B65BB
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3958b8;
/* rgb */ color: rgb(57, 88, 184);
/* oklch */ color: oklch(49.1% 0.156 267.0);
Tailwind
colors: {
  custom: {
    50: '#7e86ce',
    500: '#3958b8',
    950: '#000000',
  },
}
SCSS
$custom: #3958b8;
$custom-light: #7e86ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3958b8",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 184
  },
  "hsl": {
    "h": 225.354,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.15597,
    "h": 267
  },
  "luminance": 0.1131
}

Semantic roles & 50–950 ramp

primary
#3958B8
secondary
#C7B786
accent
#B94CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3958B8

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

Preview Lab → · Contrast checker → · Palette generator →

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