#3A36B8#3A36B8

#3A36B8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.0% C 0.197 H 275.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#3A36B8
RGBrgb(58, 54, 184)
HSLhsl(242, 55%, 47%)
HSVhsv(242, 71%, 72%)
CMYKcmyk(68.5%, 70.7%, 0%, 27.8%)
CIE-LABlab(31.80, 42.78, -67.73)
CIE-LCHlch(31.80, 80.11, 302.27°)
OKLaboklab(43.02% 0.0192 -0.1957)
OKLCHoklch(43.02% 0.197 275.6)
XYZxyz(11.7130, 6.9975, 46.0715)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A36B8 #B4B836
analogous
#3673B8 #3A36B8 #7B36B8
triadic
#3A36B8 #B83A36 #36B83A
tetradic
#3A36B8 #B83673 #B4B836 #36B87B
square
#3A36B8 #B83673 #B4B836 #36B87B
split-complementary
#3A36B8 #B87B36 #73B836
monochromatic
#1C1A59 #2B2889 #3A36B8 #605CCF #8E8BDD

Accessibility & contrast

On white

8.75
#3A36B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3A36B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A36B8
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A36B8#FFFFFF#000000##FFFFFF
##3A36B81.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a36b8;
/* rgb */ color: rgb(58, 54, 184);
/* oklch */ color: oklch(43.0% 0.197 275.6);
Tailwind
colors: {
  custom: {
    50: '#816ece',
    500: '#3a36b8',
    950: '#000000',
  },
}
SCSS
$custom: #3a36b8;
$custom-light: #816ece;
$custom-dark: #000000;
JSON
{
  "hex": "#3a36b8",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 241.846,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43017,
    "c": 0.19664,
    "h": 275.6
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#3A36B8
secondary
#C5C782
accent
#DE4AD9
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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