#4638D3#4638D3

#4638D3 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.8% C 0.225 H 277.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#4638D3
RGBrgb(70, 56, 211)
HSLhsl(245, 64%, 52%)
HSVhsv(245, 73%, 83%)
CMYKcmyk(66.8%, 73.5%, 0%, 17.3%)
CIE-LABlab(35.66, 51.64, -77.14)
CIE-LCHlch(35.66, 92.83, 303.80°)
OKLaboklab(46.77% 0.0283 -0.2229)
OKLCHoklch(46.77% 0.225 277.2)
XYZxyz(15.6940, 8.8322, 62.4931)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638D3 #C5D338
analogous
#3878D3 #4638D3 #9338D3
triadic
#4638D3 #D34638 #38D346
tetradic
#4638D3 #D33878 #C5D338 #38D393
square
#4638D3 #D33878 #C5D338 #38D393
split-complementary
#4638D3 #D39338 #78D338
monochromatic
#231A76 #3125A9 #4638D3 #756ADE #A39CE9

Accessibility & contrast

On white

7.59
#4638D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4638D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4638D3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4638D3#FFFFFF#000000##FFFFFF
##4638D31.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD8
Deuteranopia (green-blind)
#004DD0
Tritanopia (blue-blind)
#006483
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4638d3;
/* rgb */ color: rgb(70, 56, 211);
/* oklch */ color: oklch(46.8% 0.225 277.2);
Tailwind
colors: {
  custom: {
    50: '#8c71e2',
    500: '#4638d3',
    950: '#000000',
  },
}
SCSS
$custom: #4638d3;
$custom-light: #8c71e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4638d3",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 245.419,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.46769,
    "c": 0.22465,
    "h": 277.2
  },
  "luminance": 0.08834
}

Semantic roles & 50–950 ramp

primary
#4638D3
secondary
#CFD592
accent
#E741D8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4638D3

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

Preview Lab → · Contrast checker → · Palette generator →

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