#3A43A3#3A43A3

#3A43A3 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.153 H 274.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3A43A3
RGBrgb(58, 67, 163)
HSLhsl(235, 48%, 43%)
HSVhsv(235, 64%, 64%)
CMYKcmyk(64.4%, 58.9%, 0%, 36.1%)
CIE-LABlab(33.04, 27.45, -53.17)
CIE-LCHlch(33.04, 59.84, 297.31°)
OKLaboklab(43.36% 0.0108 -0.1529)
OKLCHoklch(43.36% 0.153 274)
XYZxyz(10.3608, 7.5573, 35.5559)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43A3 #A39A3A
analogous
#3A77A3 #3A43A3 #653AA3
triadic
#3A43A3 #A33A43 #43A33A
tetradic
#3A43A3 #A33A77 #A39A3A #3AA365
square
#3A43A3 #A33A77 #A39A3A #3AA365
split-complementary
#3A43A3 #A3653A #77A33A
monochromatic
#1A1E49 #2A3076 #3A43A3 #5760C3 #848BD3

Accessibility & contrast

On white

8.36
#3A43A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3A43A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A43A3
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43A3#FFFFFF#000000##FFFFFF
##3A43A31.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a43a3;
/* rgb */ color: rgb(58, 67, 163);
/* oklch */ color: oklch(43.4% 0.153 274.0);
Tailwind
colors: {
  custom: {
    50: '#7c77bf',
    500: '#3a43a3',
    950: '#000000',
  },
}
SCSS
$custom: #3a43a3;
$custom-light: #7c77bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43a3",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 163
  },
  "hsl": {
    "h": 234.857,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43364,
    "c": 0.15332,
    "h": 274
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

primary
#3A43A3
secondary
#BDB87C
accent
#CC51D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3A43A3

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

Preview Lab → · Contrast checker → · Palette generator →

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