#3A43C0#3A43C0

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

Color values

HEX#3A43C0
RGBrgb(58, 67, 192)
HSLhsl(236, 54%, 49%)
HSVhsv(236, 70%, 75%)
CMYKcmyk(69.8%, 65.1%, 0%, 24.7%)
CIE-LABlab(35.44, 37.64, -66.48)
CIE-LCHlch(35.44, 76.39, 299.52°)
OKLaboklab(45.87% 0.0097 -0.192)
OKLCHoklch(45.87% 0.192 272.9)
XYZxyz(13.2633, 8.7183, 50.8428)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43C0 #C0B73A
analogous
#3A86C0 #3A43C0 #743AC0
triadic
#3A43C0 #C03A43 #43C03A
tetradic
#3A43C0 #C03A86 #C0B73A #3AC074
square
#3A43C0 #C03A86 #C0B73A #3AC074
split-complementary
#3A43C0 #C0743A #86C03A
monochromatic
#1E2262 #2C3391 #3A43C0 #666DD1 #959ADF

Accessibility & contrast

On white

7.65
#3A43C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3A43C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A43C0
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43C0#FFFFFF#000000##FFFFFF
##3A43C01.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#004DBE
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a43c0;
/* rgb */ color: rgb(58, 67, 192);
/* oklch */ color: oklch(45.9% 0.192 272.9);
Tailwind
colors: {
  custom: {
    50: '#8277d4',
    500: '#3a43c0',
    950: '#000000',
  },
}
SCSS
$custom: #3a43c0;
$custom-light: #8277d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43c0",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 192
  },
  "hsl": {
    "h": 235.97,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4587,
    "c": 0.19225,
    "h": 272.9
  },
  "luminance": 0.0872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A43C0

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

Preview Lab → · Contrast checker → · Palette generator →

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