#4638AD#4638AD

#4638AD is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.2% C 0.178 H 281.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#4638AD
RGBrgb(70, 56, 173)
HSLhsl(247, 51%, 45%)
HSVhsv(247, 68%, 68%)
CMYKcmyk(59.5%, 67.6%, 0%, 32.2%)
CIE-LABlab(32.14, 39.66, -60.60)
CIE-LCHlch(32.14, 72.43, 303.21°)
OKLaboklab(43.19% 0.035 -0.1745)
OKLCHoklch(43.19% 0.178 281.3)
XYZxyz(11.4804, 7.1468, 40.3016)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638AD #9FAD38
analogous
#3865AD #4638AD #8038AD
triadic
#4638AD #AD4638 #38AD46
tetradic
#4638AD #AD3865 #9FAD38 #38AD80
square
#4638AD #AD3865 #9FAD38 #38AD80
split-complementary
#4638AD #AD8038 #65AD38
monochromatic
#211A51 #33297F #4638AD #6659C9 #9187D8

Accessibility & contrast

On white

8.64
#4638AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4638AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4638AD
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4638AD#FFFFFF#000000##FFFFFF
##4638AD1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4638ad;
/* rgb */ color: rgb(70, 56, 173);
/* oklch */ color: oklch(43.2% 0.178 281.3);
Tailwind
colors: {
  custom: {
    50: '#8570c6',
    500: '#4638ad',
    950: '#000000',
  },
}
SCSS
$custom: #4638ad;
$custom-light: #8570c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4638ad",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 247.179,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43185,
    "c": 0.17796,
    "h": 281.3
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#4638AD
secondary
#BAC27F
accent
#DB4DCA
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4638AD

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

Preview Lab → · Contrast checker → · Palette generator →

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