#3A2BA8#3A2BA8

#3A2BA8 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.188 H 278.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3A2BA8
RGBrgb(58, 43, 168)
HSLhsl(247, 59%, 41%)
HSVhsv(247, 74%, 66%)
CMYKcmyk(65.5%, 74.4%, 0%, 34.1%)
CIE-LABlab(27.99, 43.84, -64.45)
CIE-LCHlch(27.99, 77.94, 304.23°)
OKLaboklab(39.83% 0.0292 -0.1861)
OKLCHoklch(39.83% 0.188 278.9)
XYZxyz(9.6744, 5.4537, 37.5810)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BA8 #99A82B
analogous
#2B5BA8 #3A2BA8 #792BA8
triadic
#3A2BA8 #A83A2B #2BA83A
tetradic
#3A2BA8 #A82B5B #99A82B #2BA879
square
#3A2BA8 #A82B5B #99A82B #2BA879
split-complementary
#3A2BA8 #A8792B #5BA82B
monochromatic
#181247 #291F77 #3A2BA8 #5342CF #7F72DB

Accessibility & contrast

On white

10.04
#3A2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3A2BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2BA8
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BA8#FFFFFF#000000##FFFFFF
##3A2BA81.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a2ba8;
/* rgb */ color: rgb(58, 43, 168);
/* oklch */ color: oklch(39.8% 0.188 278.9);
Tailwind
colors: {
  custom: {
    50: '#7f67c3',
    500: '#3a2ba8',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ba8;
$custom-light: #7f67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ba8",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 247.2,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.3983,
    "c": 0.18834,
    "h": 278.9
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#3A2BA8
secondary
#B8C26C
accent
#E245D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3A2BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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