#3A3BC8#3A3BC8

#3A3BC8 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.3% C 0.211 H 273.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3A3BC8
RGBrgb(58, 59, 200)
HSLhsl(240, 56%, 51%)
HSVhsv(240, 71%, 78%)
CMYKcmyk(71%, 70.5%, 0%, 21.6%)
CIE-LABlab(34.39, 45.16, -72.88)
CIE-LCHlch(34.39, 85.74, 301.79°)
OKLaboklab(45.33% 0.0138 -0.2107)
OKLCHoklch(45.33% 0.211 273.7)
XYZxyz(13.7307, 8.1963, 55.4908)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BC8 #C8C73A
analogous
#3A82C8 #3A3BC8 #803AC8
triadic
#3A3BC8 #C83A3B #3BC83A
tetradic
#3A3BC8 #C83A82 #C8C73A #3AC880
square
#3A3BC8 #C83A82 #C8C73A #3AC880
split-complementary
#3A3BC8 #C8803A #82C83A
monochromatic
#1E1E6A #2B2C9A #3A3BC8 #6A6BD5 #9A9AE3

Accessibility & contrast

On white

7.96
#3A3BC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3A3BC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BC8
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BC8#FFFFFF#000000##FFFFFF
##3A3BC81.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#004AC5
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3bc8;
/* rgb */ color: rgb(58, 59, 200);
/* oklch */ color: oklch(45.3% 0.211 273.7);
Tailwind
colors: {
  custom: {
    50: '#8472da',
    500: '#3a3bc8',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bc8;
$custom-light: #8472da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bc8",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 239.577,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45334,
    "c": 0.21118,
    "h": 273.7
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#3A3BC8
secondary
#CECE8F
accent
#DF48E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A3BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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