#3654CA#3654CA

#3654CA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.6% C 0.186 H 268.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#3654CA
RGBrgb(54, 84, 202)
HSLhsl(228, 58%, 50%)
HSVhsv(228, 73%, 79%)
CMYKcmyk(73.3%, 58.4%, 0%, 20.8%)
CIE-LABlab(40.23, 29.93, -64.49)
CIE-LCHlch(40.23, 71.09, 294.89°)
OKLaboklab(49.61% -0.0066 -0.1861)
OKLCHoklch(49.61% 0.186 268)
XYZxyz(15.3486, 11.3876, 57.2548)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3654CA #CAAC36
analogous
#369ECA #3654CA #6236CA
triadic
#3654CA #CA3654 #54CA36
tetradic
#3654CA #CA369E #CAAC36 #36CA62
square
#3654CA #CA369E #CAAC36 #36CA62
split-complementary
#3654CA #CA6236 #9ECA36
monochromatic
#1C2C6A #29409A #3654CA #667DD7 #97A6E4

Accessibility & contrast

On white

6.41
#3654CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3654CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3654CA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3654CA#FFFFFF#000000##FFFFFF
##3654CA1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3654ca;
/* rgb */ color: rgb(54, 84, 202);
/* oklch */ color: oklch(49.6% 0.186 268.0);
Tailwind
colors: {
  custom: {
    50: '#8183db',
    500: '#3654ca',
    950: '#000000',
  },
}
SCSS
$custom: #3654ca;
$custom-light: #8183db;
$custom-dark: #000000;
JSON
{
  "hex": "#3654ca",
  "rgb": {
    "r": 54,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 227.838,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49607,
    "c": 0.18622,
    "h": 268
  },
  "luminance": 0.11389
}

Semantic roles & 50–950 ramp

primary
#3654CA
secondary
#CFC28D
accent
#C246E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3654CA

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

Preview Lab → · Contrast checker → · Palette generator →

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