#3A3ABC#3A3ABC

#3A3ABC is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.0% C 0.197 H 274.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3A3ABC
RGBrgb(58, 58, 188)
HSLhsl(240, 53%, 48%)
HSVhsv(240, 69%, 74%)
CMYKcmyk(69.1%, 69.1%, 0%, 26.3%)
CIE-LABlab(33.04, 41.75, -68.06)
CIE-LCHlch(33.04, 79.85, 301.53°)
OKLaboklab(44.02% 0.0161 -0.1967)
OKLCHoklch(44.02% 0.197 274.7)
XYZxyz(12.3321, 7.5553, 48.3756)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3ABC #BCBC3A
analogous
#3A7BBC #3A3ABC #7B3ABC
triadic
#3A3ABC #BC3A3A #3ABC3A
tetradic
#3A3ABC #BC3A7B #BCBC3A #3ABC7B
square
#3A3ABC #BC3A7B #BCBC3A #3ABC7B
split-complementary
#3A3ABC #BC7B3A #7BBC3A
monochromatic
#1D1D5E #2C2C8D #3A3ABC #6464CF #9393DE

Accessibility & contrast

On white

8.36
#3A3ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3A3ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3ABC
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3ABC#FFFFFF#000000##FFFFFF
##3A3ABC1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3abc;
/* rgb */ color: rgb(58, 58, 188);
/* oklch */ color: oklch(44.0% 0.197 274.7);
Tailwind
colors: {
  custom: {
    50: '#8271d1',
    500: '#3a3abc',
    950: '#000000',
  },
}
SCSS
$custom: #3a3abc;
$custom-light: #8271d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3abc",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 240,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44021,
    "c": 0.19732,
    "h": 274.7
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#3A3ABC
secondary
#C9C989
accent
#DC4CDC
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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