#3A43D2#3A43D2

#3A43D2 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.5% C 0.215 H 272.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3A43D2
RGBrgb(58, 67, 210)
HSLhsl(236, 63%, 53%)
HSVhsv(236, 72%, 82%)
CMYKcmyk(72.4%, 68.1%, 0%, 17.6%)
CIE-LABlab(37.05, 43.80, -74.30)
CIE-LCHlch(37.05, 86.25, 300.52°)
OKLaboklab(47.54% 0.008 -0.2149)
OKLCHoklch(47.54% 0.215 272.1)
XYZxyz(15.3810, 9.5654, 61.9960)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43D2 #D2C93A
analogous
#3A8FD2 #3A43D2 #7D3AD2
triadic
#3A43D2 #D23A43 #43D23A
tetradic
#3A43D2 #D23A8F #D2C93A #3AD27D
square
#3A43D2 #D23A8F #D2C93A #3AD27D
split-complementary
#3A43D2 #D27D3A #8FD23A
monochromatic
#1B2077 #262EA8 #3A43D2 #6C73DD #9EA2E9

Accessibility & contrast

On white

7.21
#3A43D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3A43D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A43D2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43D2#FFFFFF#000000##FFFFFF
##3A43D21.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0050CF
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a43d2;
/* rgb */ color: rgb(58, 67, 210);
/* oklch */ color: oklch(47.5% 0.215 272.1);
Tailwind
colors: {
  custom: {
    50: '#8678e1',
    500: '#3a43d2',
    950: '#000000',
  },
}
SCSS
$custom: #3a43d2;
$custom-light: #8678e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43d2",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 236.447,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47536,
    "c": 0.21504,
    "h": 272.1
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

primary
#3A43D2
secondary
#D5D193
accent
#DC42E6
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0915
muted
#7E7B84

Preview Lab

Preview with #3A43D2

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

Preview Lab → · Contrast checker → · Palette generator →

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