#3A3DBC#3A3DBC

#3A3DBC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.5% C 0.194 H 274.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3A3DBC
RGBrgb(58, 61, 188)
HSLhsl(239, 53%, 48%)
HSVhsv(239, 69%, 74%)
CMYKcmyk(69.1%, 67.6%, 0%, 26.3%)
CIE-LABlab(33.70, 39.95, -66.97)
CIE-LCHlch(33.70, 77.98, 300.82°)
OKLaboklab(44.5% 0.0141 -0.1935)
OKLCHoklch(44.5% 0.194 274.2)
XYZxyz(12.4878, 7.8667, 48.4275)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DBC #BCB93A
analogous
#3A7EBC #3A3DBC #783ABC
triadic
#3A3DBC #BC3A3D #3DBC3A
tetradic
#3A3DBC #BC3A7E #BCB93A #3ABC78
square
#3A3DBC #BC3A7E #BCB93A #3ABC78
split-complementary
#3A3DBC #BC783A #7EBC3A
monochromatic
#1D1F5E #2C2E8D #3A3DBC #6466CF #9395DE

Accessibility & contrast

On white

8.16
#3A3DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3A3DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DBC
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DBC#FFFFFF#000000##FFFFFF
##3A3DBC1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a3dbc;
/* rgb */ color: rgb(58, 61, 188);
/* oklch */ color: oklch(44.5% 0.194 274.2);
Tailwind
colors: {
  custom: {
    50: '#8273d1',
    500: '#3a3dbc',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dbc;
$custom-light: #8273d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dbc",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 188
  },
  "hsl": {
    "h": 238.615,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44501,
    "c": 0.19398,
    "h": 274.2
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#3A3DBC
secondary
#C9C789
accent
#D94CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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