#3A35AF#3A35AF

#3A35AF is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.0% C 0.186 H 276.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#3A35AF
RGBrgb(58, 53, 175)
HSLhsl(242, 54%, 45%)
HSVhsv(242, 70%, 69%)
CMYKcmyk(66.9%, 69.7%, 0%, 31.4%)
CIE-LABlab(30.74, 40.38, -64.13)
CIE-LCHlch(30.74, 75.78, 302.20°)
OKLaboklab(41.99% 0.0213 -0.1852)
OKLCHoklch(41.99% 0.186 276.5)
XYZxyz(10.7534, 6.5400, 41.2448)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35AF #AAAF35
analogous
#356DAF #3A35AF #7735AF
triadic
#3A35AF #AF3A35 #35AF3A
tetradic
#3A35AF #AF356D #AAAF35 #35AF77
square
#3A35AF #AF356D #AAAF35 #35AF77
split-complementary
#3A35AF #AF7735 #6DAF35
monochromatic
#1B1951 #2A2780 #3A35AF #5A56CC #8885DA

Accessibility & contrast

On white

9.10
#3A35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3A35AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35AF
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35AF#FFFFFF#000000##FFFFFF
##3A35AF1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a35af;
/* rgb */ color: rgb(58, 53, 175);
/* oklch */ color: oklch(42.0% 0.186 276.5);
Tailwind
colors: {
  custom: {
    50: '#806dc8',
    500: '#3a35af',
    950: '#000000',
  },
}
SCSS
$custom: #3a35af;
$custom-light: #806dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35af",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 242.459,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41994,
    "c": 0.18639,
    "h": 276.5
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#3A35AF
secondary
#C1C47C
accent
#DD4BD7
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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