#3A43BC#3A43BC

#3A43BC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.187 H 273.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3A43BC
RGBrgb(58, 67, 188)
HSLhsl(236, 53%, 48%)
HSVhsv(236, 69%, 74%)
CMYKcmyk(69.1%, 64.4%, 0%, 26.3%)
CIE-LABlab(35.09, 36.25, -64.70)
CIE-LCHlch(35.09, 74.16, 299.26°)
OKLaboklab(45.51% 0.0099 -0.1868)
OKLCHoklch(45.51% 0.187 273)
XYZxyz(12.8261, 8.5435, 48.5403)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43BC #BCB33A
analogous
#3A84BC #3A43BC #723ABC
triadic
#3A43BC #BC3A43 #43BC3A
tetradic
#3A43BC #BC3A84 #BCB33A #3ABC72
square
#3A43BC #BC3A84 #BCB33A #3ABC72
split-complementary
#3A43BC #BC723A #84BC3A
monochromatic
#1D225E #2C328D #3A43BC #646BCF #9398DE

Accessibility & contrast

On white

7.75
#3A43BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3A43BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A43BC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43BC#FFFFFF#000000##FFFFFF
##3A43BC1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a43bc;
/* rgb */ color: rgb(58, 67, 188);
/* oklch */ color: oklch(45.5% 0.187 273.0);
Tailwind
colors: {
  custom: {
    50: '#8177d1',
    500: '#3a43bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a43bc;
$custom-light: #8177d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43bc",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 235.846,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4551,
    "c": 0.18705,
    "h": 273
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

primary
#3A43BC
secondary
#C9C489
accent
#D24CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A43BC

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

Preview Lab → · Contrast checker → · Palette generator →

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