#4638CD#4638CD

#4638CD is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.2% C 0.218 H 277.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4638CD
RGBrgb(70, 56, 205)
HSLhsl(246, 60%, 51%)
HSVhsv(246, 73%, 80%)
CMYKcmyk(65.9%, 72.7%, 0%, 19.6%)
CIE-LABlab(35.08, 49.78, -74.62)
CIE-LCHlch(35.08, 89.70, 303.70°)
OKLaboklab(46.18% 0.0295 -0.2155)
OKLCHoklch(46.18% 0.218 277.8)
XYZxyz(14.9558, 8.5369, 58.6054)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638CD #BFCD38
analogous
#3874CD #4638CD #9038CD
triadic
#4638CD #CD4638 #38CD46
tetradic
#4638CD #CD3874 #BFCD38 #38CD90
square
#4638CD #CD3874 #BFCD38 #38CD90
split-complementary
#4638CD #CD9038 #74CD38
monochromatic
#241C6F #3328A0 #4638CD #7369D9 #A19AE6

Accessibility & contrast

On white

7.76
#4638CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4638CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4638CD
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4638CD#FFFFFF#000000##FFFFFF
##4638CD1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4638cd;
/* rgb */ color: rgb(70, 56, 205);
/* oklch */ color: oklch(46.2% 0.218 277.8);
Tailwind
colors: {
  custom: {
    50: '#8b71de',
    500: '#4638cd',
    950: '#000000',
  },
}
SCSS
$custom: #4638cd;
$custom-light: #8b71de;
$custom-dark: #000000;
JSON
{
  "hex": "#4638cd",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 245.638,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46182,
    "c": 0.21754,
    "h": 277.8
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#4638CD
secondary
#CBD18F
accent
#E345D4
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4638CD

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

Preview Lab → · Contrast checker → · Palette generator →

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