#3A43B4#3A43B4

#3A43B4 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.8% C 0.176 H 273.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#3A43B4
RGBrgb(58, 67, 180)
HSLhsl(236, 51%, 47%)
HSVhsv(236, 68%, 71%)
CMYKcmyk(67.8%, 62.8%, 0%, 29.4%)
CIE-LABlab(34.41, 33.45, -61.08)
CIE-LCHlch(34.41, 69.64, 298.71°)
OKLaboklab(44.8% 0.0104 -0.1762)
OKLCHoklch(44.8% 0.177 273.4)
XYZxyz(11.9875, 8.2080, 44.1237)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43B4 #B4AB3A
analogous
#3A80B4 #3A43B4 #6E3AB4
triadic
#3A43B4 #B43A43 #43B43A
tetradic
#3A43B4 #B43A80 #B4AB3A #3AB46E
square
#3A43B4 #B43A80 #B4AB3A #3AB46E
split-complementary
#3A43B4 #B46E3A #80B43A
monochromatic
#1C2157 #2B3286 #3A43B4 #6068CC #8E94DB

Accessibility & contrast

On white

7.95
#3A43B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3A43B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A43B4
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43B4#FFFFFF#000000##FFFFFF
##3A43B41.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a43b4;
/* rgb */ color: rgb(58, 67, 180);
/* oklch */ color: oklch(44.8% 0.176 273.4);
Tailwind
colors: {
  custom: {
    50: '#7f77cb',
    500: '#3a43b4',
    950: '#000000',
  },
}
SCSS
$custom: #3a43b4;
$custom-light: #7f77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43b4",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 180
  },
  "hsl": {
    "h": 235.574,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44803,
    "c": 0.1765,
    "h": 273.4
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#3A43B4
secondary
#C5C085
accent
#D04DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A43B4

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

Preview Lab → · Contrast checker → · Palette generator →

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