#3A3BBC#3A3BBC

#3A3BBC is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.2% C 0.196 H 274.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#3A3BBC
RGBrgb(58, 59, 188)
HSLhsl(240, 53%, 48%)
HSVhsv(240, 69%, 74%)
CMYKcmyk(69.1%, 68.6%, 0%, 26.3%)
CIE-LABlab(33.26, 41.15, -67.70)
CIE-LCHlch(33.26, 79.23, 301.29°)
OKLaboklab(44.18% 0.0154 -0.1956)
OKLCHoklch(44.18% 0.196 274.5)
XYZxyz(12.3830, 7.6572, 48.3926)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BBC #BCBB3A
analogous
#3A7CBC #3A3BBC #7A3ABC
triadic
#3A3BBC #BC3A3B #3BBC3A
tetradic
#3A3BBC #BC3A7C #BCBB3A #3ABC7A
square
#3A3BBC #BC3A7C #BCBB3A #3ABC7A
split-complementary
#3A3BBC #BC7A3A #7CBC3A
monochromatic
#1D1E5E #2C2C8D #3A3BBC #6465CF #9393DE

Accessibility & contrast

On white

8.30
#3A3BBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3A3BBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BBC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BBC#FFFFFF#000000##FFFFFF
##3A3BBC1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a3bbc;
/* rgb */ color: rgb(58, 59, 188);
/* oklch */ color: oklch(44.2% 0.196 274.5);
Tailwind
colors: {
  custom: {
    50: '#8272d1',
    500: '#3a3bbc',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bbc;
$custom-light: #8272d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bbc",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 188
  },
  "hsl": {
    "h": 239.538,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44179,
    "c": 0.19622,
    "h": 274.5
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#3A3BBC
secondary
#C9C889
accent
#DB4CDC
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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