#3A3CB2#3A3CB2

#3A3CB2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.182 H 275.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#3A3CB2
RGBrgb(58, 60, 178)
HSLhsl(239, 51%, 46%)
HSVhsv(239, 67%, 70%)
CMYKcmyk(67.4%, 66.3%, 0%, 30.2%)
CIE-LABlab(32.58, 37.15, -62.90)
CIE-LCHlch(32.58, 73.05, 300.57°)
OKLaboklab(43.41% 0.0159 -0.1815)
OKLCHoklch(43.41% 0.182 275)
XYZxyz(11.3940, 7.3446, 42.9280)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CB2 #B2B03A
analogous
#3A78B2 #3A3CB2 #743AB2
triadic
#3A3CB2 #B23A3C #3CB23A
tetradic
#3A3CB2 #B23A78 #B2B03A #3AB274
square
#3A3CB2 #B23A78 #B2B03A #3AB274
split-complementary
#3A3CB2 #B2743A #78B23A
monochromatic
#1C1D56 #2B2C84 #3A3CB2 #5F60CB #8D8EDA

Accessibility & contrast

On white

8.50
#3A3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3A3CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CB2
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CB2#FFFFFF#000000##FFFFFF
##3A3CB21.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a3cb2;
/* rgb */ color: rgb(58, 60, 178);
/* oklch */ color: oklch(43.4% 0.182 275.0);
Tailwind
colors: {
  custom: {
    50: '#8072ca',
    500: '#3a3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cb2;
$custom-light: #8072ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cb2",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 239,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4341,
    "c": 0.18224,
    "h": 275
  },
  "luminance": 0.07346
}

Semantic roles & 50–950 ramp

primary
#3A3CB2
secondary
#C4C383
accent
#D84DDA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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