#4638E1#4638E1

#4638E1 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 48.2% C 0.241 H 276.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4638E1
RGBrgb(70, 56, 225)
HSLhsl(245, 74%, 55%)
HSVhsv(245, 75%, 88%)
CMYKcmyk(68.9%, 75.1%, 0%, 11.8%)
CIE-LABlab(37.05, 55.92, -82.89)
CIE-LCHlch(37.05, 99.99, 304.01°)
OKLaboklab(48.17% 0.0254 -0.2396)
OKLCHoklch(48.17% 0.241 276)
XYZxyz(17.5261, 9.5651, 72.1422)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638E1 #D3E138
analogous
#387FE1 #4638E1 #9A38E1
triadic
#4638E1 #E14638 #38E146
tetradic
#4638E1 #E1387F #D3E138 #38E19A
square
#4638E1 #E1387F #D3E138 #38E19A
split-complementary
#4638E1 #E19A38 #7FE138
monochromatic
#1E158A #2A1DBF #4638E1 #776DE9 #A9A2F1

Accessibility & contrast

On white

7.21
#4638E1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4638E1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4638E1
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4638E1#FFFFFF#000000##FFFFFF
##4638E11.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE6
Deuteranopia (green-blind)
#0050DE
Tritanopia (blue-blind)
#006A8B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4638e1;
/* rgb */ color: rgb(70, 56, 225);
/* oklch */ color: oklch(48.2% 0.241 276.0);
Tailwind
colors: {
  custom: {
    50: '#8f72ec',
    500: '#4638e1',
    950: '#000000',
  },
}
SCSS
$custom: #4638e1;
$custom-light: #8f72ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4638e1",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 225
  },
  "hsl": {
    "h": 244.97,
    "s": 73.799,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48166,
    "c": 0.24095,
    "h": 276
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

primary
#4638E1
secondary
#D8DE97
accent
#F037E1
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4638E1

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

Preview Lab → · Contrast checker → · Palette generator →

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