#4638AC#4638AC

#4638AC is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.177 H 281.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4638AC
RGBrgb(70, 56, 172)
HSLhsl(247, 51%, 45%)
HSVhsv(247, 67%, 67%)
CMYKcmyk(59.3%, 67.4%, 0%, 32.5%)
CIE-LABlab(32.05, 39.34, -60.15)
CIE-LCHlch(32.05, 71.87, 303.19°)
OKLaboklab(43.1% 0.0352 -0.1731)
OKLCHoklch(43.1% 0.177 281.5)
XYZxyz(11.3840, 7.1082, 39.7939)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638AC #9EAC38
analogous
#3864AC #4638AC #8038AC
triadic
#4638AC #AC4638 #38AC46
tetradic
#4638AC #AC3864 #9EAC38 #38AC80
square
#4638AC #AC3864 #9EAC38 #38AC80
split-complementary
#4638AC #AC8038 #64AC38
monochromatic
#201A50 #33297E #4638AC #6658C9 #9087D8

Accessibility & contrast

On white

8.67
#4638AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4638AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4638AC#FFFFFF#000000##FFFFFF
##4638AC1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4638ac;
/* rgb */ color: rgb(70, 56, 172);
/* oklch */ color: oklch(43.1% 0.177 281.5);
Tailwind
colors: {
  custom: {
    50: '#8470c6',
    500: '#4638ac',
    950: '#000000',
  },
}
SCSS
$custom: #4638ac;
$custom-light: #8470c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4638ac",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 247.241,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43096,
    "c": 0.17668,
    "h": 281.5
  },
  "luminance": 0.07109
}

Semantic roles & 50–950 ramp

primary
#4638AC
secondary
#BAC27E
accent
#DA4DC9
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4638AC

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

Preview Lab → · Contrast checker → · Palette generator →

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