#3642CF#3642CF

#3642CF is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 46.9% C 0.213 H 271.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#3642CF
RGBrgb(54, 66, 207)
HSLhsl(235, 61%, 51%)
HSVhsv(235, 74%, 81%)
CMYKcmyk(73.9%, 68.1%, 0%, 18.8%)
CIE-LABlab(36.34, 42.97, -73.75)
CIE-LCHlch(36.34, 85.35, 300.23°)
OKLaboklab(46.88% 0.0046 -0.2134)
OKLCHoklch(46.88% 0.213 271.2)
XYZxyz(14.7282, 9.1841, 60.0159)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3642CF #CFC336
analogous
#368ECF #3642CF #7636CF
triadic
#3642CF #CF3642 #42CF36
tetradic
#3642CF #CF368E #CFC336 #36CF76
square
#3642CF #CF368E #CFC336 #36CF76
split-complementary
#3642CF #CF7636 #8ECF36
monochromatic
#1B2170 #2730A1 #3642CF #6770DB #999FE7

Accessibility & contrast

On white

7.40
#3642CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3642CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3642CF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3642CF#FFFFFF#000000##FFFFFF
##3642CF1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#004ECC
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3642cf;
/* rgb */ color: rgb(54, 66, 207);
/* oklch */ color: oklch(46.9% 0.213 271.2);
Tailwind
colors: {
  custom: {
    50: '#8477df',
    500: '#3642cf',
    950: '#000000',
  },
}
SCSS
$custom: #3642cf;
$custom-light: #8477df;
$custom-dark: #000000;
JSON
{
  "hex": "#3642cf",
  "rgb": {
    "r": 54,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 235.294,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46877,
    "c": 0.21342,
    "h": 271.2
  },
  "luminance": 0.09186
}

Semantic roles & 50–950 ramp

primary
#3642CF
secondary
#D2CD8F
accent
#D843E5
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3642CF

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

Preview Lab → · Contrast checker → · Palette generator →

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