#3634A2#3634A2

#3634A2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.172 H 276.2°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#3634A2
RGBrgb(54, 52, 162)
HSLhsl(241, 51%, 42%)
HSVhsv(241, 68%, 64%)
CMYKcmyk(66.7%, 67.9%, 0%, 36.5%)
CIE-LABlab(29.03, 36.07, -59.13)
CIE-LCHlch(29.03, 69.26, 301.38°)
OKLaboklab(40.32% 0.0187 -0.1706)
OKLCHoklch(40.32% 0.172 276.2)
XYZxyz(9.2688, 5.8481, 34.8158)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3634A2 #A0A234
analogous
#3469A2 #3634A2 #6D34A2
triadic
#3634A2 #A23634 #34A236
tetradic
#3634A2 #A23469 #A0A234 #34A26D
square
#3634A2 #A23469 #A0A234 #34A26D
split-complementary
#3634A2 #A26D34 #69A234
monochromatic
#171645 #272574 #3634A2 #4F4DC6 #7D7CD5

Accessibility & contrast

On white

9.68
#3634A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3634A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3634A2
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3634A2#FFFFFF#000000##FFFFFF
##3634A21.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3634a2;
/* rgb */ color: rgb(54, 52, 162);
/* oklch */ color: oklch(40.3% 0.172 276.2);
Tailwind
colors: {
  custom: {
    50: '#7b6cbf',
    500: '#3634a2',
    950: '#000000',
  },
}
SCSS
$custom: #3634a2;
$custom-light: #7b6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3634a2",
  "rgb": {
    "r": 54,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 241.091,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40319,
    "c": 0.17167,
    "h": 276.2
  },
  "luminance": 0.05849
}

Semantic roles & 50–950 ramp

primary
#3634A2
secondary
#BCBE74
accent
#DB4DD8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3634A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3634A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva