#3A3085#3A3085

#3A3085 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.137 H 282.9°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#3A3085
RGBrgb(58, 48, 133)
HSLhsl(247, 47%, 35%)
HSVhsv(247, 64%, 52%)
CMYKcmyk(56.4%, 63.9%, 0%, 47.8%)
CIE-LABlab(25.88, 29.40, -46.42)
CIE-LCHlch(25.88, 54.95, 302.35°)
OKLaboklab(37.33% 0.0305 -0.1332)
OKLCHoklch(37.33% 0.137 282.9)
XYZxyz(7.0342, 4.7065, 22.7235)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3085 #7B8530
analogous
#305085 #3A3085 #643085
triadic
#3A3085 #853A30 #30853A
tetradic
#3A3085 #853050 #7B8530 #308564
square
#3A3085 #853050 #7B8530 #308564
split-complementary
#3A3085 #856430 #508530
monochromatic
#13102B #262058 #3A3085 #4E40B2 #7367C8

Accessibility & contrast

On white

10.82
#3A3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3A3085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3085
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3085#FFFFFF#000000##FFFFFF
##3A30851.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#184555
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a3085;
/* rgb */ color: rgb(58, 48, 133);
/* oklch */ color: oklch(37.3% 0.137 282.9);
Tailwind
colors: {
  custom: {
    50: '#7869a9',
    500: '#3a3085',
    950: '#000000',
  },
}
SCSS
$custom: #3a3085;
$custom-light: #7869a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3085",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 247.059,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37332,
    "c": 0.13668,
    "h": 282.9
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

primary
#3A3085
secondary
#A6AF61
accent
#D751C7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #3A3085

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

Preview Lab → · Contrast checker → · Palette generator →

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