#3A3FB0#3A3FB0

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

Color values

HEX#3A3FB0
RGBrgb(58, 63, 176)
HSLhsl(237, 50%, 46%)
HSVhsv(237, 67%, 69%)
CMYKcmyk(67%, 64.2%, 0%, 31%)
CIE-LABlab(33.11, 34.58, -60.84)
CIE-LCHlch(33.11, 69.98, 299.62°)
OKLaboklab(43.74% 0.0138 -0.1755)
OKLCHoklch(43.74% 0.176 274.5)
XYZxyz(11.3563, 7.5881, 41.9321)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FB0 #B0AB3A
analogous
#3A7AB0 #3A3FB0 #703AB0
triadic
#3A3FB0 #B03A3F #3FB03A
tetradic
#3A3FB0 #B03A7A #B0AB3A #3AB070
square
#3A3FB0 #B03A7A #B0AB3A #3AB070
split-complementary
#3A3FB0 #B0703A #7AB03A
monochromatic
#1C1E54 #2B2F82 #3A3FB0 #5D62CA #8B8FD9

Accessibility & contrast

On white

8.34
#3A3FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3FB0
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FB0#FFFFFF#000000##FFFFFF
##3A3FB01.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a3fb0;
/* rgb */ color: rgb(58, 63, 176);
/* oklch */ color: oklch(43.7% 0.176 274.5);
Tailwind
colors: {
  custom: {
    50: '#7f74c9',
    500: '#3a3fb0',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fb0;
$custom-light: #7f74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fb0",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 237.458,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43743,
    "c": 0.17604,
    "h": 274.5
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A3FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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