#3A3EB0#3A3EB0

#3A3EB0 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.177 H 274.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#3A3EB0
RGBrgb(58, 62, 176)
HSLhsl(238, 50%, 46%)
HSVhsv(238, 67%, 69%)
CMYKcmyk(67%, 64.8%, 0%, 31%)
CIE-LABlab(32.87, 35.21, -61.23)
CIE-LCHlch(32.87, 70.63, 299.90°)
OKLaboklab(43.57% 0.0145 -0.1766)
OKLCHoklch(43.57% 0.177 274.7)
XYZxyz(11.3014, 7.4784, 41.9138)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EB0 #B0AC3A
analogous
#3A79B0 #3A3EB0 #713AB0
triadic
#3A3EB0 #B03A3E #3EB03A
tetradic
#3A3EB0 #B03A79 #B0AC3A #3AB071
square
#3A3EB0 #B03A79 #B0AC3A #3AB071
split-complementary
#3A3EB0 #B0713A #79B03A
monochromatic
#1C1E54 #2B2E82 #3A3EB0 #5D61CA #8B8ED9

Accessibility & contrast

On white

8.41
#3A3EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3A3EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EB0
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EB0#FFFFFF#000000##FFFFFF
##3A3EB01.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a3eb0;
/* rgb */ color: rgb(58, 62, 176);
/* oklch */ color: oklch(43.6% 0.177 274.7);
Tailwind
colors: {
  custom: {
    50: '#7f73c9',
    500: '#3a3eb0',
    950: '#000000',
  },
}
SCSS
$custom: #3a3eb0;
$custom-light: #7f73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3eb0",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 237.966,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4357,
    "c": 0.17725,
    "h": 274.7
  },
  "luminance": 0.07479
}

Semantic roles & 50–950 ramp

primary
#3A3EB0
secondary
#C3C182
accent
#D54EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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