#3A43BF#3A43BF

#3A43BF is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.8% C 0.191 H 272.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#3A43BF
RGBrgb(58, 67, 191)
HSLhsl(236, 53%, 49%)
HSVhsv(236, 70%, 75%)
CMYKcmyk(69.6%, 64.9%, 0%, 25.1%)
CIE-LABlab(35.35, 37.29, -66.04)
CIE-LCHlch(35.35, 75.84, 299.45°)
OKLaboklab(45.78% 0.0097 -0.1907)
OKLCHoklch(45.78% 0.191 272.9)
XYZxyz(13.1529, 8.6742, 50.2612)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43BF #BFB63A
analogous
#3A86BF #3A43BF #743ABF
triadic
#3A43BF #BF3A43 #43BF3A
tetradic
#3A43BF #BF3A86 #BFB63A #3ABF74
square
#3A43BF #BF3A86 #BFB63A #3ABF74
split-complementary
#3A43BF #BF743A #86BF3A
monochromatic
#1D2261 #2C3390 #3A43BF #666DD0 #959ADF

Accessibility & contrast

On white

7.68
#3A43BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3A43BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A43BF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43BF#FFFFFF#000000##FFFFFF
##3A43BF1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a43bf;
/* rgb */ color: rgb(58, 67, 191);
/* oklch */ color: oklch(45.8% 0.191 272.9);
Tailwind
colors: {
  custom: {
    50: '#8277d3',
    500: '#3a43bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a43bf;
$custom-light: #8277d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43bf",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 191
  },
  "hsl": {
    "h": 235.94,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45779,
    "c": 0.19096,
    "h": 272.9
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#3A43BF
secondary
#CAC68B
accent
#D34BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A43BF

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

Preview Lab → · Contrast checker → · Palette generator →

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