#3A2DAF#3A2DAF

#3A2DAF is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.195 H 277.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#3A2DAF
RGBrgb(58, 45, 175)
HSLhsl(246, 59%, 43%)
HSVhsv(246, 74%, 69%)
CMYKcmyk(66.9%, 74.3%, 0%, 31.4%)
CIE-LABlab(29.08, 44.97, -66.85)
CIE-LCHlch(29.08, 80.57, 303.93°)
OKLaboklab(40.82% 0.0265 -0.1931)
OKLCHoklch(40.82% 0.195 277.8)
XYZxyz(10.4187, 5.8706, 41.1332)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DAF #A2AF2D
analogous
#2D61AF #3A2DAF #7B2DAF
triadic
#3A2DAF #AF3A2D #2DAF3A
tetradic
#3A2DAF #AF2D61 #A2AF2D #2DAF7B
square
#3A2DAF #AF2D61 #A2AF2D #2DAF7B
split-complementary
#3A2DAF #AF7B2D #61AF2D
monochromatic
#1A144E #2A207E #3A2DAF #5749D0 #847ADD

Accessibility & contrast

On white

9.66
#3A2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3A2DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DAF
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DAF#FFFFFF#000000##FFFFFF
##3A2DAF1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a2daf;
/* rgb */ color: rgb(58, 45, 175);
/* oklch */ color: oklch(40.8% 0.195 277.8);
Tailwind
colors: {
  custom: {
    50: '#8068c8',
    500: '#3a2daf',
    950: '#000000',
  },
}
SCSS
$custom: #3a2daf;
$custom-light: #8068c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2daf",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 246,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40815,
    "c": 0.19489,
    "h": 277.8
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#3A2DAF
secondary
#BDC573
accent
#E246D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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