#3A3EB3#3A3EB3

#3A3EB3 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.181 H 274.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#3A3EB3
RGBrgb(58, 62, 179)
HSLhsl(238, 51%, 46%)
HSVhsv(238, 68%, 70%)
CMYKcmyk(67.6%, 65.4%, 0%, 29.8%)
CIE-LABlab(33.13, 36.25, -62.58)
CIE-LCHlch(33.13, 72.32, 300.08°)
OKLaboklab(43.84% 0.0143 -0.1806)
OKLCHoklch(43.84% 0.181 274.5)
XYZxyz(11.6015, 7.5984, 43.4943)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EB3 #B3AF3A
analogous
#3A7BB3 #3A3EB3 #733AB3
triadic
#3A3EB3 #B33A3E #3EB33A
tetradic
#3A3EB3 #B33A7B #B3AF3A #3AB373
square
#3A3EB3 #B33A7B #B3AF3A #3AB373
split-complementary
#3A3EB3 #B3733A #7BB33A
monochromatic
#1C1E57 #2B2E85 #3A3EB3 #5F63CB #8D90DA

Accessibility & contrast

On white

8.33
#3A3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3A3EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EB3
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EB3#FFFFFF#000000##FFFFFF
##3A3EB31.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a3eb3;
/* rgb */ color: rgb(58, 62, 179);
/* oklch */ color: oklch(43.8% 0.181 274.5);
Tailwind
colors: {
  custom: {
    50: '#8073cb',
    500: '#3a3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #3a3eb3;
$custom-light: #8073cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3eb3",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 238.017,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4384,
    "c": 0.18119,
    "h": 274.5
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#3A3EB3
secondary
#C5C384
accent
#D64DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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