#3A43BB#3A43BB

#3A43BB is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.4% C 0.186 H 273.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#3A43BB
RGBrgb(58, 67, 187)
HSLhsl(236, 53%, 48%)
HSVhsv(236, 69%, 73%)
CMYKcmyk(69%, 64.2%, 0%, 26.7%)
CIE-LABlab(35.00, 35.90, -64.25)
CIE-LCHlch(35.00, 73.60, 299.19°)
OKLaboklab(45.42% 0.01 -0.1855)
OKLCHoklch(45.42% 0.186 273.1)
XYZxyz(12.7187, 8.5005, 47.9746)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43BB #BBB23A
analogous
#3A83BB #3A43BB #713ABB
triadic
#3A43BB #BB3A43 #43BB3A
tetradic
#3A43BB #BB3A83 #BBB23A #3ABB71
square
#3A43BB #BB3A83 #BBB23A #3ABB71
split-complementary
#3A43BB #BB713A #83BB3A
monochromatic
#1D225E #2C328C #3A43BB #636BCF #9297DD

Accessibility & contrast

On white

7.78
#3A43BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3A43BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A43BB
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43BB#FFFFFF#000000##FFFFFF
##3A43BB1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a43bb;
/* rgb */ color: rgb(58, 67, 187);
/* oklch */ color: oklch(45.4% 0.186 273.1);
Tailwind
colors: {
  custom: {
    50: '#8177d0',
    500: '#3a43bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a43bb;
$custom-light: #8177d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43bb",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 235.814,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45421,
    "c": 0.18575,
    "h": 273.1
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A43BB

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

Preview Lab → · Contrast checker → · Palette generator →

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