#4638AA#4638AA

#4638AA is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.174 H 281.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#4638AA
RGBrgb(70, 56, 170)
HSLhsl(247, 50%, 44%)
HSVhsv(247, 67%, 67%)
CMYKcmyk(58.8%, 67.1%, 0%, 33.3%)
CIE-LABlab(31.88, 38.70, -59.23)
CIE-LCHlch(31.88, 70.75, 303.16°)
OKLaboklab(42.92% 0.0354 -0.1705)
OKLCHoklch(42.92% 0.174 281.7)
XYZxyz(11.1934, 7.0320, 38.7899)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638AA #9CAA38
analogous
#3863AA #4638AA #7F38AA
triadic
#4638AA #AA4638 #38AA46
tetradic
#4638AA #AA3863 #9CAA38 #38AA7F
square
#4638AA #AA3863 #9CAA38 #38AA7F
split-complementary
#4638AA #AA7F38 #63AA38
monochromatic
#201A4E #33297C #4638AA #6557C8 #8F85D7

Accessibility & contrast

On white

8.73
#4638AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4638AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4638AA#FFFFFF#000000##FFFFFF
##4638AA1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#07556C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4638aa;
/* rgb */ color: rgb(70, 56, 170);
/* oklch */ color: oklch(42.9% 0.174 281.7);
Tailwind
colors: {
  custom: {
    50: '#8470c4',
    500: '#4638aa',
    950: '#000000',
  },
}
SCSS
$custom: #4638aa;
$custom-light: #8470c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4638aa",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 247.368,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42918,
    "c": 0.1741,
    "h": 281.7
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#4638AA
secondary
#B8C17D
accent
#DA4EC9
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4638AA

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

Preview Lab → · Contrast checker → · Palette generator →

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