#3A43AB#3A43AB

#3A43AB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.164 H 273.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#3A43AB
RGBrgb(58, 67, 171)
HSLhsl(235, 49%, 45%)
HSVhsv(235, 66%, 67%)
CMYKcmyk(66.1%, 60.8%, 0%, 32.9%)
CIE-LABlab(33.68, 30.28, -56.93)
CIE-LCHlch(33.68, 64.49, 298.01°)
OKLaboklab(44.03% 0.0107 -0.164)
OKLCHoklch(44.03% 0.164 273.7)
XYZxyz(11.1003, 7.8531, 39.4510)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43AB #ABA23A
analogous
#3A7CAB #3A43AB #693AAB
triadic
#3A43AB #AB3A43 #43AB3A
tetradic
#3A43AB #AB3A7C #ABA23A #3AAB69
square
#3A43AB #AB3A7C #ABA23A #3AAB69
split-complementary
#3A43AB #AB693A #7CAB3A
monochromatic
#1B1F50 #2A317D #3A43AB #5B64C7 #898FD7

Accessibility & contrast

On white

8.17
#3A43AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3A43AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A43AB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43AB#FFFFFF#000000##FFFFFF
##3A43AB1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a43ab;
/* rgb */ color: rgb(58, 67, 171);
/* oklch */ color: oklch(44.0% 0.164 273.7);
Tailwind
colors: {
  custom: {
    50: '#7e77c5',
    500: '#3a43ab',
    950: '#000000',
  },
}
SCSS
$custom: #3a43ab;
$custom-light: #7e77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43ab",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 235.221,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4403,
    "c": 0.16436,
    "h": 273.7
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#3A43AB
secondary
#C1BC80
accent
#CE4FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A43AB

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

Preview Lab → · Contrast checker → · Palette generator →

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