#4638C2#4638C2

#4638C2 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.1% C 0.204 H 278.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4638C2
RGBrgb(70, 56, 194)
HSLhsl(246, 55%, 49%)
HSVhsv(246, 71%, 76%)
CMYKcmyk(63.9%, 71.1%, 0%, 23.9%)
CIE-LABlab(34.03, 46.33, -69.92)
CIE-LCHlch(34.03, 83.88, 303.53°)
OKLaboklab(45.12% 0.0316 -0.2018)
OKLCHoklch(45.12% 0.204 278.9)
XYZxyz(13.6744, 8.0244, 51.8567)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638C2 #B4C238
analogous
#386FC2 #4638C2 #8B38C2
triadic
#4638C2 #C24638 #38C246
tetradic
#4638C2 #C2386F #B4C238 #38C28B
square
#4638C2 #C2386F #B4C238 #38C28B
split-complementary
#4638C2 #C28B38 #6FC238
monochromatic
#241D63 #352A93 #4638C2 #7065D2 #9C94E0

Accessibility & contrast

On white

8.06
#4638C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4638C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4638C2
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4638C2#FFFFFF#000000##FFFFFF
##4638C21.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4638c2;
/* rgb */ color: rgb(70, 56, 194);
/* oklch */ color: oklch(45.1% 0.204 278.9);
Tailwind
colors: {
  custom: {
    50: '#8970d6',
    500: '#4638c2',
    950: '#000000',
  },
}
SCSS
$custom: #4638c2;
$custom-light: #8970d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4638c2",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 246.087,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45124,
    "c": 0.20424,
    "h": 278.9
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#4638C2
secondary
#C5CB8A
accent
#DF49CF
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4638C2

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

Preview Lab → · Contrast checker → · Palette generator →

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