#3A3FB9#3A3FB9

#3A3FB9 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.6% C 0.188 H 274.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#3A3FB9
RGBrgb(58, 63, 185)
HSLhsl(238, 52%, 48%)
HSVhsv(238, 69%, 73%)
CMYKcmyk(68.6%, 65.9%, 0%, 27.5%)
CIE-LABlab(33.89, 37.70, -64.89)
CIE-LCHlch(33.89, 75.05, 300.15°)
OKLaboklab(44.56% 0.013 -0.1874)
OKLCHoklch(44.56% 0.188 274)
XYZxyz(12.2765, 7.9562, 46.7783)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FB9 #B9B43A
analogous
#3A7EB9 #3A3FB9 #753AB9
triadic
#3A3FB9 #B93A3F #3FB93A
tetradic
#3A3FB9 #B93A7E #B9B43A #3AB975
square
#3A3FB9 #B93A7E #B9B43A #3AB975
split-complementary
#3A3FB9 #B9753A #7EB93A
monochromatic
#1D1F5C #2B2F8A #3A3FB9 #6267CE #9194DC

Accessibility & contrast

On white

8.10
#3A3FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3A3FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FB9
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FB9#FFFFFF#000000##FFFFFF
##3A3FB91.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a3fb9;
/* rgb */ color: rgb(58, 63, 185);
/* oklch */ color: oklch(44.6% 0.188 274.0);
Tailwind
colors: {
  custom: {
    50: '#8174cf',
    500: '#3a3fb9',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fb9;
$custom-light: #8174cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fb9",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 237.638,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44555,
    "c": 0.18783,
    "h": 274
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#3A3FB9
secondary
#C7C587
accent
#D64CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A3FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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