#3A3CB1#3A3CB1

#3A3CB1 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.181 H 275.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#3A3CB1
RGBrgb(58, 60, 177)
HSLhsl(239, 51%, 46%)
HSVhsv(239, 67%, 69%)
CMYKcmyk(67.2%, 66.1%, 0%, 30.6%)
CIE-LABlab(32.49, 36.80, -62.45)
CIE-LCHlch(32.49, 72.48, 300.51°)
OKLaboklab(43.32% 0.016 -0.1802)
OKLCHoklch(43.32% 0.181 275.1)
XYZxyz(11.2940, 7.3046, 42.4012)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CB1 #B1AF3A
analogous
#3A77B1 #3A3CB1 #733AB1
triadic
#3A3CB1 #B13A3C #3CB13A
tetradic
#3A3CB1 #B13A77 #B1AF3A #3AB173
square
#3A3CB1 #B13A77 #B1AF3A #3AB173
split-complementary
#3A3CB1 #B1733A #77B13A
monochromatic
#1C1D55 #2B2C83 #3A3CB1 #5E60CA #8C8DD9

Accessibility & contrast

On white

8.53
#3A3CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3A3CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CB1
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CB1#FFFFFF#000000##FFFFFF
##3A3CB11.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a3cb1;
/* rgb */ color: rgb(58, 60, 177);
/* oklch */ color: oklch(43.3% 0.181 275.1);
Tailwind
colors: {
  custom: {
    50: '#7f72c9',
    500: '#3a3cb1',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cb1;
$custom-light: #7f72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cb1",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 238.992,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43318,
    "c": 0.18094,
    "h": 275.1
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#3A3CB1
secondary
#C4C383
accent
#D84EDA
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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