#3A3DB8#3A3DB8

#3A3DB8 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.1% C 0.189 H 274.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#3A3DB8
RGBrgb(58, 61, 184)
HSLhsl(239, 52%, 47%)
HSVhsv(239, 68%, 72%)
CMYKcmyk(68.5%, 66.8%, 0%, 27.8%)
CIE-LABlab(33.34, 38.58, -65.20)
CIE-LCHlch(33.34, 75.76, 300.62°)
OKLaboklab(44.13% 0.0145 -0.1883)
OKLCHoklch(44.13% 0.189 274.4)
XYZxyz(12.0625, 7.6966, 46.1880)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DB8 #B8B53A
analogous
#3A7CB8 #3A3DB8 #763AB8
triadic
#3A3DB8 #B83A3D #3DB83A
tetradic
#3A3DB8 #B83A7C #B8B53A #3AB876
square
#3A3DB8 #B83A7C #B8B53A #3AB876
split-complementary
#3A3DB8 #B8763A #7CB83A
monochromatic
#1D1E5B #2B2E89 #3A3DB8 #6264CD #9092DC

Accessibility & contrast

On white

8.27
#3A3DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3A3DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DB8
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DB8#FFFFFF#000000##FFFFFF
##3A3DB81.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a3db8;
/* rgb */ color: rgb(58, 61, 184);
/* oklch */ color: oklch(44.1% 0.189 274.4);
Tailwind
colors: {
  custom: {
    50: '#8173ce',
    500: '#3a3db8',
    950: '#000000',
  },
}
SCSS
$custom: #3a3db8;
$custom-light: #8173ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3db8",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 238.571,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44129,
    "c": 0.18885,
    "h": 274.4
  },
  "luminance": 0.07698
}

Semantic roles & 50–950 ramp

primary
#3A3DB8
secondary
#C7C587
accent
#D84CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A3DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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