#3958AF#3958AF

#3958AF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.143 H 266.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#3958AF
RGBrgb(57, 88, 175)
HSLhsl(224, 51%, 45%)
HSVhsv(224, 67%, 69%)
CMYKcmyk(67.4%, 49.7%, 0%, 31.4%)
CIE-LABlab(39.48, 17.88, -49.90)
CIE-LCHlch(39.48, 53.01, 289.71°)
OKLaboklab(48.47% -0.0091 -0.1431)
OKLCHoklch(48.47% 0.143 266.4)
XYZxyz(12.9122, 10.9432, 41.9809)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958AF #AF9039
analogous
#3993AF #3958AF #5539AF
triadic
#3958AF #AF3958 #58AF39
tetradic
#3958AF #AF3993 #AF9039 #39AF55
square
#3958AF #AF3993 #AF9039 #39AF55
split-complementary
#3958AF #AF5539 #93AF39
monochromatic
#1B2A53 #2A4181 #3958AF #5B78CA #8A9ED9

Accessibility & contrast

On white

6.59
#3958AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3958AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958AF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958AF#FFFFFF#000000##FFFFFF
##3958AF1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2863B2
Deuteranopia (green-blind)
#0458AD
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3958af;
/* rgb */ color: rgb(57, 88, 175);
/* oklch */ color: oklch(48.5% 0.143 266.4);
Tailwind
colors: {
  custom: {
    50: '#7d86c7',
    500: '#3958af',
    950: '#000000',
  },
}
SCSS
$custom: #3958af;
$custom-light: #7d86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3958af",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 224.237,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4847,
    "c": 0.14337,
    "h": 266.4
  },
  "luminance": 0.10944
}

Semantic roles & 50–950 ramp

primary
#3958AF
secondary
#C3B281
accent
#B54DDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3958AF

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

Preview Lab → · Contrast checker → · Palette generator →

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