#3A3DC0#3A3DC0

#3A3DC0 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.9% C 0.199 H 273.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#3A3DC0
RGBrgb(58, 61, 192)
HSLhsl(239, 54%, 49%)
HSVhsv(239, 70%, 75%)
CMYKcmyk(69.8%, 68.2%, 0%, 24.7%)
CIE-LABlab(34.07, 41.30, -68.72)
CIE-LCHlch(34.07, 80.18, 301.01°)
OKLaboklab(44.88% 0.0136 -0.1986)
OKLCHoklch(44.88% 0.199 273.9)
XYZxyz(12.9249, 8.0416, 50.7300)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DC0 #C0BD3A
analogous
#3A80C0 #3A3DC0 #7A3AC0
triadic
#3A3DC0 #C03A3D #3DC03A
tetradic
#3A3DC0 #C03A80 #C0BD3A #3AC07A
square
#3A3DC0 #C03A80 #C0BD3A #3AC07A
split-complementary
#3A3DC0 #C07A3A #80C03A
monochromatic
#1E1F62 #2C2E91 #3A3DC0 #6669D1 #9597DF

Accessibility & contrast

On white

8.05
#3A3DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3A3DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DC0
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DC0#FFFFFF#000000##FFFFFF
##3A3DC01.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#006079
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a3dc0;
/* rgb */ color: rgb(58, 61, 192);
/* oklch */ color: oklch(44.9% 0.199 273.9);
Tailwind
colors: {
  custom: {
    50: '#8273d4',
    500: '#3a3dc0',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dc0;
$custom-light: #8273d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dc0",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 192
  },
  "hsl": {
    "h": 238.657,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44877,
    "c": 0.19906,
    "h": 273.9
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#3A3DC0
secondary
#CAC98B
accent
#DA4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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