#4638C5#4638C5

#4638C5 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.4% C 0.208 H 278.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4638C5
RGBrgb(70, 56, 197)
HSLhsl(246, 56%, 50%)
HSVhsv(246, 72%, 77%)
CMYKcmyk(64.5%, 71.6%, 0%, 22.7%)
CIE-LABlab(34.31, 47.28, -71.22)
CIE-LCHlch(34.31, 85.48, 303.58°)
OKLaboklab(45.41% 0.0311 -0.2056)
OKLCHoklch(45.41% 0.208 278.6)
XYZxyz(14.0148, 8.1605, 53.6491)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638C5 #B7C538
analogous
#3871C5 #4638C5 #8C38C5
triadic
#4638C5 #C54638 #38C546
tetradic
#4638C5 #C53871 #B7C538 #38C58C
square
#4638C5 #C53871 #B7C538 #38C58C
split-complementary
#4638C5 #C58C38 #71C538
monochromatic
#241D66 #352A95 #4638C5 #7167D4 #9E96E1

Accessibility & contrast

On white

7.98
#4638C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4638C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4638C5
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4638C5#FFFFFF#000000##FFFFFF
##4638C51.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4638c5;
/* rgb */ color: rgb(70, 56, 197);
/* oklch */ color: oklch(45.4% 0.208 278.6);
Tailwind
colors: {
  custom: {
    50: '#8971d8',
    500: '#4638c5',
    950: '#000000',
  },
}
SCSS
$custom: #4638c5;
$custom-light: #8971d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4638c5",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 245.957,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4541,
    "c": 0.2079,
    "h": 278.6
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4638C5

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

Preview Lab → · Contrast checker → · Palette generator →

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