#3A3FCD#3A3FCD

#3A3FCD is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.4% C 0.213 H 272.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3A3FCD
RGBrgb(58, 63, 205)
HSLhsl(238, 60%, 52%)
HSVhsv(238, 72%, 80%)
CMYKcmyk(71.7%, 69.3%, 0%, 19.6%)
CIE-LABlab(35.72, 44.49, -73.60)
CIE-LCHlch(35.72, 86.00, 301.15°)
OKLaboklab(46.43% 0.0108 -0.2128)
OKLCHoklch(46.43% 0.213 272.9)
XYZxyz(14.5382, 8.8609, 58.6899)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FCD #CDC83A
analogous
#3A89CD #3A3FCD #7F3ACD
triadic
#3A3FCD #CD3A3F #3FCD3A
tetradic
#3A3FCD #CD3A89 #CDC83A #3ACD7F
square
#3A3FCD #CD3A89 #CDC83A #3ACD7F
split-complementary
#3A3FCD #CD7F3A #89CD3A
monochromatic
#1C1F70 #292DA1 #3A3FCD #6B6FD9 #9C9EE6

Accessibility & contrast

On white

7.57
#3A3FCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3A3FCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FCD
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FCD#FFFFFF#000000##FFFFFF
##3A3FCD1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD1
Deuteranopia (green-blind)
#004DCA
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a3fcd;
/* rgb */ color: rgb(58, 63, 205);
/* oklch */ color: oklch(46.4% 0.213 272.9);
Tailwind
colors: {
  custom: {
    50: '#8575dd',
    500: '#3a3fcd',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fcd;
$custom-light: #8575dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fcd",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 237.959,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46431,
    "c": 0.21313,
    "h": 272.9
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#3A3FCD
secondary
#D2D091
accent
#DD45E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3A3FCD

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

Preview Lab → · Contrast checker → · Palette generator →

#3A3FCD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva