#3641B2#3641B2

#3641B2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.177 H 272.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3641B2
RGBrgb(54, 65, 178)
HSLhsl(235, 53%, 45%)
HSVhsv(235, 70%, 70%)
CMYKcmyk(69.7%, 63.5%, 0%, 30.2%)
CIE-LABlab(33.52, 33.47, -61.37)
CIE-LCHlch(33.52, 69.91, 298.61°)
OKLaboklab(44.03% 0.0076 -0.1771)
OKLCHoklch(44.03% 0.177 272.5)
XYZxyz(11.4448, 7.7781, 43.0090)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3641B2 #B2A736
analogous
#367FB2 #3641B2 #6936B2
triadic
#3641B2 #B23641 #41B236
tetradic
#3641B2 #B2367F #B2A736 #36B269
square
#3641B2 #B2367F #B2A736 #36B269
split-complementary
#3641B2 #B26936 #7FB236
monochromatic
#1A1F54 #283083 #3641B2 #5963CD #888FDB

Accessibility & contrast

On white

8.22
#3641B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3641B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3641B2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3641B2#FFFFFF#000000##FFFFFF
##3641B21.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3641b2;
/* rgb */ color: rgb(54, 65, 178);
/* oklch */ color: oklch(44.0% 0.177 272.5);
Tailwind
colors: {
  custom: {
    50: '#7d75ca',
    500: '#3641b2',
    950: '#000000',
  },
}
SCSS
$custom: #3641b2;
$custom-light: #7d75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3641b2",
  "rgb": {
    "r": 54,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 234.677,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44029,
    "c": 0.17731,
    "h": 272.5
  },
  "luminance": 0.07779
}

Semantic roles & 50–950 ramp

primary
#3641B2
secondary
#C5BF7F
accent
#D04BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3641B2

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

Preview Lab → · Contrast checker → · Palette generator →

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