#3A3D95#3A3D95

#3A3D95 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.142 H 276.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#3A3D95
RGBrgb(58, 61, 149)
HSLhsl(238, 44%, 41%)
HSVhsv(238, 61%, 58%)
CMYKcmyk(61.1%, 59.1%, 0%, 41.6%)
CIE-LABlab(30.42, 26.44, -48.95)
CIE-LCHlch(30.42, 55.63, 298.38°)
OKLaboklab(41.07% 0.0165 -0.1406)
OKLCHoklch(41.07% 0.142 276.7)
XYZxyz(8.8367, 6.4063, 29.1988)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3D95 #95923A
analogous
#3A6A95 #3A3D95 #643A95
triadic
#3A3D95 #953A3D #3D953A
tetradic
#3A3D95 #953A6A #95923A #3A9564
square
#3A3D95 #953A6A #95923A #3A9564
split-complementary
#3A3D95 #95643A #6A953A
monochromatic
#18193D #292B69 #3A3D95 #5154BB #7D80CC

Accessibility & contrast

On white

9.20
#3A3D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3A3D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3D95
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3D95#FFFFFF#000000##FFFFFF
##3A3D951.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a3d95;
/* rgb */ color: rgb(58, 61, 149);
/* oklch */ color: oklch(41.1% 0.142 276.7);
Tailwind
colors: {
  custom: {
    50: '#7a72b5',
    500: '#3a3d95',
    950: '#000000',
  },
}
SCSS
$custom: #3a3d95;
$custom-light: #7a72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3d95",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 238.022,
    "s": 43.961,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41072,
    "c": 0.14156,
    "h": 276.7
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#3A3D95
secondary
#B6B475
accent
#CF54D4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3A3D95

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

Preview Lab → · Contrast checker → · Palette generator →

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