#3A3EDB#3A3EDB

#3A3EDB is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.6% C 0.231 H 272.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#3A3EDB
RGBrgb(58, 62, 219)
HSLhsl(239, 69%, 54%)
HSVhsv(239, 74%, 86%)
CMYKcmyk(73.5%, 71.7%, 0%, 14.1%)
CIE-LABlab(36.85, 49.70, -79.81)
CIE-LCHlch(36.85, 94.02, 301.91°)
OKLaboklab(47.65% 0.0094 -0.231)
OKLCHoklch(47.65% 0.231 272.3)
XYZxyz(16.2494, 9.4576, 67.9732)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EDB #DBD73A
analogous
#3A8FDB #3A3EDB #863ADB
triadic
#3A3EDB #DB3A3E #3EDB3A
tetradic
#3A3EDB #DB3A8F #DBD73A #3ADB86
square
#3A3EDB #DB3A8F #DBD73A #3ADB86
split-complementary
#3A3EDB #DB863A #8FDB3A
monochromatic
#181B83 #2125B6 #3A3EDB #6E71E4 #A1A3EE

Accessibility & contrast

On white

7.26
#3A3EDB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3A3EDB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EDB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EDB#FFFFFF#000000##FFFFFF
##3A3EDB1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE0
Deuteranopia (green-blind)
#004FD8
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a3edb;
/* rgb */ color: rgb(58, 62, 219);
/* oklch */ color: oklch(47.6% 0.231 272.3);
Tailwind
colors: {
  custom: {
    50: '#8875e8',
    500: '#3a3edb',
    950: '#000000',
  },
}
SCSS
$custom: #3a3edb;
$custom-light: #8875e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3edb",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 219
  },
  "hsl": {
    "h": 238.509,
    "s": 69.099,
    "l": 54.314
  },
  "oklch": {
    "l": 0.4765,
    "c": 0.23115,
    "h": 272.3
  },
  "luminance": 0.09459
}

Semantic roles & 50–950 ramp

primary
#3A3EDB
secondary
#DBD996
accent
#E83CEC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3A3EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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