#3A43B2#3A43B2

#3A43B2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.6% C 0.174 H 273.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3A43B2
RGBrgb(58, 67, 178)
HSLhsl(236, 51%, 46%)
HSVhsv(236, 67%, 70%)
CMYKcmyk(67.4%, 62.4%, 0%, 30.2%)
CIE-LABlab(34.25, 32.75, -60.17)
CIE-LCHlch(34.25, 68.50, 298.56°)
OKLaboklab(44.63% 0.0105 -0.1735)
OKLCHoklch(44.63% 0.174 273.5)
XYZxyz(11.7853, 8.1271, 43.0585)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43B2 #B2A93A
analogous
#3A7FB2 #3A43B2 #6D3AB2
triadic
#3A43B2 #B23A43 #43B23A
tetradic
#3A43B2 #B23A7F #B2A93A #3AB26D
square
#3A43B2 #B23A7F #B2A93A #3AB26D
split-complementary
#3A43B2 #B26D3A #7FB23A
monochromatic
#1C2056 #2B3284 #3A43B2 #5F67CB #8D92DA

Accessibility & contrast

On white

8.00
#3A43B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3A43B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A43B2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43B2#FFFFFF#000000##FFFFFF
##3A43B21.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a43b2;
/* rgb */ color: rgb(58, 67, 178);
/* oklch */ color: oklch(44.6% 0.174 273.5);
Tailwind
colors: {
  custom: {
    50: '#7f77ca',
    500: '#3a43b2',
    950: '#000000',
  },
}
SCSS
$custom: #3a43b2;
$custom-light: #7f77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43b2",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 235.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4463,
    "c": 0.17383,
    "h": 273.5
  },
  "luminance": 0.08128
}

Semantic roles & 50–950 ramp

primary
#3A43B2
secondary
#C4BF83
accent
#D04DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A43B2

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

Preview Lab → · Contrast checker → · Palette generator →

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