#3A43BA#3A43BA

#3A43BA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.3% C 0.184 H 273.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3A43BA
RGBrgb(58, 67, 186)
HSLhsl(236, 52%, 48%)
HSVhsv(236, 69%, 73%)
CMYKcmyk(68.8%, 64%, 0%, 27.1%)
CIE-LABlab(34.92, 35.55, -63.80)
CIE-LCHlch(34.92, 73.04, 299.13°)
OKLaboklab(45.33% 0.0101 -0.1842)
OKLCHoklch(45.33% 0.184 273.1)
XYZxyz(12.6120, 8.4578, 47.4127)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43BA #BAB13A
analogous
#3A83BA #3A43BA #713ABA
triadic
#3A43BA #BA3A43 #43BA3A
tetradic
#3A43BA #BA3A83 #BAB13A #3ABA71
square
#3A43BA #BA3A83 #BAB13A #3ABA71
split-complementary
#3A43BA #BA713A #83BA3A
monochromatic
#1D215D #2B328B #3A43BA #636ACE #9297DD

Accessibility & contrast

On white

7.80
#3A43BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3A43BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A43BA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43BA#FFFFFF#000000##FFFFFF
##3A43BA1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a43ba;
/* rgb */ color: rgb(58, 67, 186);
/* oklch */ color: oklch(45.3% 0.184 273.1);
Tailwind
colors: {
  custom: {
    50: '#8177d0',
    500: '#3a43ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a43ba;
$custom-light: #8177d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43ba",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 235.781,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45332,
    "c": 0.18444,
    "h": 273.1
  },
  "luminance": 0.08459
}

Semantic roles & 50–950 ramp

primary
#3A43BA
secondary
#C8C388
accent
#D24CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A43BA

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

Preview Lab → · Contrast checker → · Palette generator →

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