#3654CF#3654CF

#3654CF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.0% C 0.193 H 268.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#3654CF
RGBrgb(54, 84, 207)
HSLhsl(228, 61%, 51%)
HSVhsv(228, 74%, 81%)
CMYKcmyk(73.9%, 59.4%, 0%, 18.8%)
CIE-LABlab(40.62, 31.74, -66.73)
CIE-LCHlch(40.62, 73.90, 295.44°)
OKLaboklab(50.02% -0.0065 -0.1927)
OKLCHoklch(50.02% 0.193 268.1)
XYZxyz(15.9502, 11.6282, 60.4232)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3654CF #CFB136
analogous
#36A0CF #3654CF #6436CF
triadic
#3654CF #CF3654 #54CF36
tetradic
#3654CF #CF36A0 #CFB136 #36CF64
square
#3654CF #CF36A0 #CFB136 #36CF64
split-complementary
#3654CF #CF6436 #A0CF36
monochromatic
#1B2B70 #273FA1 #3654CF #677EDB #99A8E7

Accessibility & contrast

On white

6.31
#3654CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3654CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3654CF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3654CF#FFFFFF#000000##FFFFFF
##3654CF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0059CD
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3654cf;
/* rgb */ color: rgb(54, 84, 207);
/* oklch */ color: oklch(50.0% 0.193 268.1);
Tailwind
colors: {
  custom: {
    50: '#8283df',
    500: '#3654cf',
    950: '#000000',
  },
}
SCSS
$custom: #3654cf;
$custom-light: #8283df;
$custom-dark: #000000;
JSON
{
  "hex": "#3654cf",
  "rgb": {
    "r": 54,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 228.235,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.1928,
    "h": 268.1
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#3654CF
secondary
#D2C58F
accent
#C543E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3654CF

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

Preview Lab → · Contrast checker → · Palette generator →

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