#3A3DC8#3A3DC8

#3A3DC8 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.6% C 0.209 H 273.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#3A3DC8
RGBrgb(58, 61, 200)
HSLhsl(239, 56%, 51%)
HSVhsv(239, 71%, 78%)
CMYKcmyk(71%, 69.5%, 0%, 21.6%)
CIE-LABlab(34.81, 43.99, -72.18)
CIE-LCHlch(34.81, 84.53, 301.36°)
OKLaboklab(45.64% 0.0126 -0.2087)
OKLCHoklch(45.64% 0.209 273.5)
XYZxyz(13.8355, 8.4058, 55.5257)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DC8 #C8C53A
analogous
#3A84C8 #3A3DC8 #7E3AC8
triadic
#3A3DC8 #C83A3D #3DC83A
tetradic
#3A3DC8 #C83A84 #C8C53A #3AC87E
square
#3A3DC8 #C83A84 #C8C53A #3AC87E
split-complementary
#3A3DC8 #C87E3A #84C83A
monochromatic
#1E1F6A #2B2D9A #3A3DC8 #6A6CD5 #9A9BE3

Accessibility & contrast

On white

7.83
#3A3DC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3A3DC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DC8
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DC8#FFFFFF#000000##FFFFFF
##3A3DC81.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#004BC5
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a3dc8;
/* rgb */ color: rgb(58, 61, 200);
/* oklch */ color: oklch(45.6% 0.209 273.5);
Tailwind
colors: {
  custom: {
    50: '#8473da',
    500: '#3a3dc8',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dc8;
$custom-light: #8473da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dc8",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 238.732,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4564,
    "c": 0.20907,
    "h": 273.5
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#3A3DC8
secondary
#CECD8F
accent
#DC48E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A3DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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