#4638C6#4638C6

#4638C6 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.5% C 0.209 H 278.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4638C6
RGBrgb(70, 56, 198)
HSLhsl(246, 56%, 50%)
HSVhsv(246, 72%, 78%)
CMYKcmyk(64.6%, 71.7%, 0%, 22.4%)
CIE-LABlab(34.41, 47.59, -71.65)
CIE-LCHlch(34.41, 86.01, 303.59°)
OKLaboklab(45.51% 0.0309 -0.2068)
OKLCHoklch(45.51% 0.209 278.5)
XYZxyz(14.1297, 8.2065, 54.2545)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638C6 #B8C638
analogous
#3871C6 #4638C6 #8D38C6
triadic
#4638C6 #C64638 #38C646
tetradic
#4638C6 #C63871 #B8C638 #38C68D
square
#4638C6 #C63871 #B8C638 #38C68D
split-complementary
#4638C6 #C68D38 #71C638
monochromatic
#241D67 #352B96 #4638C6 #7267D4 #9E97E2

Accessibility & contrast

On white

7.95
#4638C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4638C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4638C6
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4638C6#FFFFFF#000000##FFFFFF
##4638C61.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004BC3
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4638c6;
/* rgb */ color: rgb(70, 56, 198);
/* oklch */ color: oklch(45.5% 0.209 278.5);
Tailwind
colors: {
  custom: {
    50: '#8971d9',
    500: '#4638c6',
    950: '#000000',
  },
}
SCSS
$custom: #4638c6;
$custom-light: #8971d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4638c6",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 245.915,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45506,
    "c": 0.20911,
    "h": 278.5
  },
  "luminance": 0.08208
}

Semantic roles & 50–950 ramp

primary
#4638C6
secondary
#C7CD8D
accent
#DF49D0
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4638C6

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

Preview Lab → · Contrast checker → · Palette generator →

#4638C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva