#3A3CDB#3A3CDB

#3A3CDB is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.4% C 0.233 H 272.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#3A3CDB
RGBrgb(58, 60, 219)
HSLhsl(239, 69%, 54%)
HSVhsv(239, 74%, 86%)
CMYKcmyk(73.5%, 72.6%, 0%, 14.1%)
CIE-LABlab(36.45, 50.82, -80.47)
CIE-LCHlch(36.45, 95.17, 302.27°)
OKLaboklab(47.36% 0.0103 -0.2329)
OKLCHoklch(47.36% 0.233 272.5)
XYZxyz(16.1427, 9.2441, 67.9376)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CDB #DBD93A
analogous
#3A8CDB #3A3CDB #893ADB
triadic
#3A3CDB #DB3A3C #3CDB3A
tetradic
#3A3CDB #DB3A8C #DBD93A #3ADB89
square
#3A3CDB #DB3A8C #DBD93A #3ADB89
split-complementary
#3A3CDB #DB893A #8CDB3A
monochromatic
#181983 #2123B6 #3A3CDB #6E6FE4 #A1A2EE

Accessibility & contrast

On white

7.37
#3A3CDB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3A3CDB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CDB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CDB#FFFFFF#000000##FFFFFF
##3A3CDB1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE0
Deuteranopia (green-blind)
#004ED8
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a3cdb;
/* rgb */ color: rgb(58, 60, 219);
/* oklch */ color: oklch(47.4% 0.233 272.5);
Tailwind
colors: {
  custom: {
    50: '#8873e8',
    500: '#3a3cdb',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cdb;
$custom-light: #8873e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cdb",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 219
  },
  "hsl": {
    "h": 239.255,
    "s": 69.099,
    "l": 54.314
  },
  "oklch": {
    "l": 0.47364,
    "c": 0.2331,
    "h": 272.5
  },
  "luminance": 0.09246
}

Semantic roles & 50–950 ramp

primary
#3A3CDB
secondary
#DBDA96
accent
#EA3CEC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3A3CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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