#3A3ABF#3A3ABF

#3A3ABF is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.3% C 0.201 H 274.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#3A3ABF
RGBrgb(58, 58, 191)
HSLhsl(240, 53%, 49%)
HSVhsv(240, 70%, 75%)
CMYKcmyk(69.6%, 69.6%, 0%, 25.1%)
CIE-LABlab(33.32, 42.75, -69.36)
CIE-LCHlch(33.32, 81.48, 301.65°)
OKLaboklab(44.31% 0.0157 -0.2005)
OKLCHoklch(44.31% 0.201 274.5)
XYZxyz(12.6588, 7.6860, 50.0965)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3ABF #BFBF3A
analogous
#3A7DBF #3A3ABF #7D3ABF
triadic
#3A3ABF #BF3A3A #3ABF3A
tetradic
#3A3ABF #BF3A7D #BFBF3A #3ABF7D
square
#3A3ABF #BF3A7D #BFBF3A #3ABF7D
split-complementary
#3A3ABF #BF7D3A #7DBF3A
monochromatic
#1D1D61 #2C2C90 #3A3ABF #6666D0 #9595DF

Accessibility & contrast

On white

8.28
#3A3ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3A3ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3ABF
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3ABF#FFFFFF#000000##FFFFFF
##3A3ABF1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a3abf;
/* rgb */ color: rgb(58, 58, 191);
/* oklch */ color: oklch(44.3% 0.201 274.5);
Tailwind
colors: {
  custom: {
    50: '#8271d3',
    500: '#3a3abf',
    950: '#000000',
  },
}
SCSS
$custom: #3a3abf;
$custom-light: #8271d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3abf",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 240,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44308,
    "c": 0.20108,
    "h": 274.5
  },
  "luminance": 0.07687
}

Semantic roles & 50–950 ramp

primary
#3A3ABF
secondary
#CACA8B
accent
#DD4BDD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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