#3A3A95#3A3A95

#3A3A95 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.146 H 277.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#3A3A95
RGBrgb(58, 58, 149)
HSLhsl(240, 44%, 41%)
HSVhsv(240, 61%, 58%)
CMYKcmyk(61.1%, 61.1%, 0%, 41.6%)
CIE-LABlab(29.65, 28.40, -50.19)
CIE-LCHlch(29.65, 57.67, 299.51°)
OKLaboklab(40.51% 0.0195 -0.1443)
OKLCHoklch(40.51% 0.146 277.7)
XYZxyz(8.6811, 6.0949, 29.1469)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3A95 #95953A
analogous
#3A6795 #3A3A95 #673A95
triadic
#3A3A95 #953A3A #3A953A
tetradic
#3A3A95 #953A67 #95953A #3A9567
square
#3A3A95 #953A67 #95953A #3A9567
split-complementary
#3A3A95 #95673A #67953A
monochromatic
#18183D #292969 #3A3A95 #5151BB #7D7DCC

Accessibility & contrast

On white

9.46
#3A3A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3A3A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3A95
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3A95#FFFFFF#000000##FFFFFF
##3A3A951.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a3a95;
/* rgb */ color: rgb(58, 58, 149);
/* oklch */ color: oklch(40.5% 0.146 277.7);
Tailwind
colors: {
  custom: {
    50: '#7a70b5',
    500: '#3a3a95',
    950: '#000000',
  },
}
SCSS
$custom: #3a3a95;
$custom-light: #7a70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3a95",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 240,
    "s": 43.961,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.14557,
    "h": 277.7
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#3A3A95
secondary
#B6B675
accent
#D454D4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3A3A95

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

Preview Lab → · Contrast checker → · Palette generator →

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