#3642B2#3642B2

#3642B2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.176 H 272.2°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#3642B2
RGBrgb(54, 66, 178)
HSLhsl(234, 53%, 45%)
HSVhsv(234, 70%, 70%)
CMYKcmyk(69.7%, 62.9%, 0%, 30.2%)
CIE-LABlab(33.76, 32.83, -60.97)
CIE-LCHlch(33.76, 69.25, 298.30°)
OKLaboklab(44.21% 0.0068 -0.176)
OKLCHoklch(44.21% 0.176 272.2)
XYZxyz(11.5027, 7.8939, 43.0283)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3642B2 #B2A636
analogous
#3680B2 #3642B2 #6836B2
triadic
#3642B2 #B23642 #42B236
tetradic
#3642B2 #B23680 #B2A636 #36B268
square
#3642B2 #B23680 #B2A636 #36B268
split-complementary
#3642B2 #B26836 #80B236
monochromatic
#1A1F54 #283183 #3642B2 #5964CD #8890DB

Accessibility & contrast

On white

8.14
#3642B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3642B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3642B2
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3642B2#FFFFFF#000000##FFFFFF
##3642B21.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3642b2;
/* rgb */ color: rgb(54, 66, 178);
/* oklch */ color: oklch(44.2% 0.176 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d76ca',
    500: '#3642b2',
    950: '#000000',
  },
}
SCSS
$custom: #3642b2;
$custom-light: #7d76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3642b2",
  "rgb": {
    "r": 54,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 234.194,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44209,
    "c": 0.1761,
    "h": 272.2
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#3642B2
secondary
#C5BE7F
accent
#CF4BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3642B2

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

Preview Lab → · Contrast checker → · Palette generator →

#3642B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva