#3A43B9#3A43B9

#3A43B9 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.2% C 0.183 H 273.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#3A43B9
RGBrgb(58, 67, 185)
HSLhsl(236, 52%, 48%)
HSVhsv(236, 69%, 73%)
CMYKcmyk(68.6%, 63.8%, 0%, 27.5%)
CIE-LABlab(34.83, 35.20, -63.35)
CIE-LCHlch(34.83, 72.47, 299.06°)
OKLaboklab(45.24% 0.0101 -0.1828)
OKLCHoklch(45.24% 0.183 273.2)
XYZxyz(12.5061, 8.4155, 46.8548)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43B9 #B9B03A
analogous
#3A82B9 #3A43B9 #703AB9
triadic
#3A43B9 #B93A43 #43B93A
tetradic
#3A43B9 #B93A82 #B9B03A #3AB970
square
#3A43B9 #B93A82 #B9B03A #3AB970
split-complementary
#3A43B9 #B9703A #82B93A
monochromatic
#1D215C #2B328A #3A43B9 #626ACE #9196DC

Accessibility & contrast

On white

7.83
#3A43B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3A43B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A43B9
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43B9#FFFFFF#000000##FFFFFF
##3A43B91.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a43b9;
/* rgb */ color: rgb(58, 67, 185);
/* oklch */ color: oklch(45.2% 0.183 273.2);
Tailwind
colors: {
  custom: {
    50: '#8077cf',
    500: '#3a43b9',
    950: '#000000',
  },
}
SCSS
$custom: #3a43b9;
$custom-light: #8077cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43b9",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 185
  },
  "hsl": {
    "h": 235.748,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45243,
    "c": 0.18312,
    "h": 273.2
  },
  "luminance": 0.08417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A43B9

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

Preview Lab → · Contrast checker → · Palette generator →

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