#4638CC#4638CC

#4638CC is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.1% C 0.216 H 277.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#4638CC
RGBrgb(70, 56, 204)
HSLhsl(246, 59%, 51%)
HSVhsv(246, 73%, 80%)
CMYKcmyk(65.7%, 72.5%, 0%, 20%)
CIE-LABlab(34.98, 49.47, -74.20)
CIE-LCHlch(34.98, 89.18, 303.69°)
OKLaboklab(46.09% 0.0297 -0.2143)
OKLCHoklch(46.09% 0.216 277.9)
XYZxyz(14.8355, 8.4888, 57.9717)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638CC #BECC38
analogous
#3874CC #4638CC #9038CC
triadic
#4638CC #CC4638 #38CC46
tetradic
#4638CC #CC3874 #BECC38 #38CC90
square
#4638CC #CC3874 #BECC38 #38CC90
split-complementary
#4638CC #CC9038 #74CC38
monochromatic
#241C6E #34299E #4638CC #7369D8 #A199E5

Accessibility & contrast

On white

7.78
#4638CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4638CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4638CC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4638CC#FFFFFF#000000##FFFFFF
##4638CC1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004CC9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4638cc;
/* rgb */ color: rgb(70, 56, 204);
/* oklch */ color: oklch(46.1% 0.216 277.9);
Tailwind
colors: {
  custom: {
    50: '#8b71dd',
    500: '#4638cc',
    950: '#000000',
  },
}
SCSS
$custom: #4638cc;
$custom-light: #8b71dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4638cc",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 245.676,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46085,
    "c": 0.21633,
    "h": 277.9
  },
  "luminance": 0.0849
}

Semantic roles & 50–950 ramp

primary
#4638CC
secondary
#CAD18F
accent
#E245D4
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4638CC

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

Preview Lab → · Contrast checker → · Palette generator →

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