#4638C9#4638C9

#4638C9 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.8% C 0.213 H 278.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4638C9
RGBrgb(70, 56, 201)
HSLhsl(246, 57%, 50%)
HSVhsv(246, 72%, 79%)
CMYKcmyk(65.2%, 72.1%, 0%, 21.2%)
CIE-LABlab(34.69, 48.53, -72.93)
CIE-LCHlch(34.69, 87.60, 303.64°)
OKLaboklab(45.79% 0.0303 -0.2106)
OKLCHoklch(45.79% 0.213 278.2)
XYZxyz(14.4792, 8.3463, 56.0950)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638C9 #BBC938
analogous
#3872C9 #4638C9 #8E38C9
triadic
#4638C9 #C94638 #38C946
tetradic
#4638C9 #C93872 #BBC938 #38C98E
square
#4638C9 #C93872 #BBC938 #38C98E
split-complementary
#4638C9 #C98E38 #72C938
monochromatic
#241D6A #352A9A #4638C9 #7368D6 #A098E3

Accessibility & contrast

On white

7.87
#4638C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4638C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4638C9
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4638C9#FFFFFF#000000##FFFFFF
##4638C91.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#004CC6
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4638c9;
/* rgb */ color: rgb(70, 56, 201);
/* oklch */ color: oklch(45.8% 0.213 278.2);
Tailwind
colors: {
  custom: {
    50: '#8a71db',
    500: '#4638c9',
    950: '#000000',
  },
}
SCSS
$custom: #4638c9;
$custom-light: #8a71db;
$custom-dark: #000000;
JSON
{
  "hex": "#4638c9",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 245.793,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45794,
    "c": 0.21273,
    "h": 278.2
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#4638C9
secondary
#C8CF8E
accent
#E147D2
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4638C9

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

Preview Lab → · Contrast checker → · Palette generator →

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