#3A3DBF#3A3DBF

#3A3DBF is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.8% C 0.198 H 274.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3A3DBF
RGBrgb(58, 61, 191)
HSLhsl(239, 53%, 49%)
HSVhsv(239, 70%, 75%)
CMYKcmyk(69.6%, 68.1%, 0%, 25.1%)
CIE-LABlab(33.98, 40.96, -68.28)
CIE-LCHlch(33.98, 79.63, 300.96°)
OKLaboklab(44.78% 0.0138 -0.1973)
OKLCHoklch(44.78% 0.198 274)
XYZxyz(12.8145, 7.9974, 50.1484)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DBF #BFBC3A
analogous
#3A80BF #3A3DBF #7A3ABF
triadic
#3A3DBF #BF3A3D #3DBF3A
tetradic
#3A3DBF #BF3A80 #BFBC3A #3ABF7A
square
#3A3DBF #BF3A80 #BFBC3A #3ABF7A
split-complementary
#3A3DBF #BF7A3A #80BF3A
monochromatic
#1D1F61 #2C2E90 #3A3DBF #6668D0 #9596DF

Accessibility & contrast

On white

8.08
#3A3DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3A3DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DBF
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DBF#FFFFFF#000000##FFFFFF
##3A3DBF1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3dbf;
/* rgb */ color: rgb(58, 61, 191);
/* oklch */ color: oklch(44.8% 0.198 274.0);
Tailwind
colors: {
  custom: {
    50: '#8273d3',
    500: '#3a3dbf',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dbf;
$custom-light: #8273d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dbf",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 238.647,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44782,
    "c": 0.1978,
    "h": 274
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A3DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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