#4638D1#4638D1

#4638D1 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.6% C 0.222 H 277.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4638D1
RGBrgb(70, 56, 209)
HSLhsl(245, 62%, 52%)
HSVhsv(245, 73%, 82%)
CMYKcmyk(66.5%, 73.2%, 0%, 18%)
CIE-LABlab(35.46, 51.02, -76.31)
CIE-LCHlch(35.46, 91.79, 303.77°)
OKLaboklab(46.57% 0.0287 -0.2204)
OKLCHoklch(46.57% 0.222 277.4)
XYZxyz(15.4449, 8.7326, 61.1809)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638D1 #C3D138
analogous
#3877D1 #4638D1 #9238D1
triadic
#4638D1 #D14638 #38D146
tetradic
#4638D1 #D13877 #C3D138 #38D192
square
#4638D1 #D13877 #C3D138 #38D192
split-complementary
#4638D1 #D19238 #77D138
monochromatic
#231B74 #3226A6 #4638D1 #746ADC #A29BE8

Accessibility & contrast

On white

7.65
#4638D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4638D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4638D1
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4638D1#FFFFFF#000000##FFFFFF
##4638D11.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD5
Deuteranopia (green-blind)
#004DCE
Tritanopia (blue-blind)
#006482
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4638d1;
/* rgb */ color: rgb(70, 56, 209);
/* oklch */ color: oklch(46.6% 0.222 277.4);
Tailwind
colors: {
  custom: {
    50: '#8b71e0',
    500: '#4638d1',
    950: '#000000',
  },
}
SCSS
$custom: #4638d1;
$custom-light: #8b71e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4638d1",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 209
  },
  "hsl": {
    "h": 245.49,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46573,
    "c": 0.22229,
    "h": 277.4
  },
  "luminance": 0.08734
}

Semantic roles & 50–950 ramp

primary
#4638D1
secondary
#CED491
accent
#E642D7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4638D1

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

Preview Lab → · Contrast checker → · Palette generator →

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