#3654C4#3654C4

#3654C4 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.178 H 267.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#3654C4
RGBrgb(54, 84, 196)
HSLhsl(227, 57%, 49%)
HSVhsv(227, 72%, 77%)
CMYKcmyk(72.4%, 57.1%, 0%, 23.1%)
CIE-LABlab(39.76, 27.74, -61.76)
CIE-LCHlch(39.76, 67.70, 294.18°)
OKLaboklab(49.12% -0.0068 -0.1781)
OKLCHoklch(49.12% 0.178 267.8)
XYZxyz(14.6520, 11.1089, 53.5859)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3654C4 #C4A636
analogous
#369BC4 #3654C4 #5F36C4
triadic
#3654C4 #C43654 #54C436
tetradic
#3654C4 #C4369B #C4A636 #36C45F
square
#3654C4 #C4369B #C4A636 #36C45F
split-complementary
#3654C4 #C45F36 #9BC436
monochromatic
#1C2B64 #293F94 #3654C4 #637BD4 #93A4E1

Accessibility & contrast

On white

6.52
#3654C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3654C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3654C4
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3654C4#FFFFFF#000000##FFFFFF
##3654C41.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3654c4;
/* rgb */ color: rgb(54, 84, 196);
/* oklch */ color: oklch(49.1% 0.178 267.8);
Tailwind
colors: {
  custom: {
    50: '#8083d7',
    500: '#3654c4',
    950: '#000000',
  },
}
SCSS
$custom: #3654c4;
$custom-light: #8083d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3654c4",
  "rgb": {
    "r": 54,
    "g": 84,
    "b": 196
  },
  "hsl": {
    "h": 227.324,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49116,
    "c": 0.17821,
    "h": 267.8
  },
  "luminance": 0.1111
}

Semantic roles & 50–950 ramp

primary
#3654C4
secondary
#CCBE89
accent
#C048E0
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3654C4

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

Preview Lab → · Contrast checker → · Palette generator →

#3654C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva