#4638AF#4638AF

#4638AF is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.4% C 0.181 H 281.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4638AF
RGBrgb(70, 56, 175)
HSLhsl(247, 52%, 45%)
HSVhsv(247, 68%, 69%)
CMYKcmyk(60%, 68%, 0%, 31.4%)
CIE-LABlab(32.31, 40.30, -61.51)
CIE-LCHlch(32.31, 73.54, 303.23°)
OKLaboklab(43.36% 0.0347 -0.1771)
OKLCHoklch(43.36% 0.181 281.1)
XYZxyz(11.6754, 7.2248, 41.3284)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638AF #A1AF38
analogous
#3865AF #4638AF #8138AF
triadic
#4638AF #AF4638 #38AF46
tetradic
#4638AF #AF3865 #A1AF38 #38AF81
square
#4638AF #AF3865 #A1AF38 #38AF81
split-complementary
#4638AF #AF8138 #65AF38
monochromatic
#211A52 #332981 #4638AF #675ACA #9288D9

Accessibility & contrast

On white

8.59
#4638AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4638AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4638AF#FFFFFF#000000##FFFFFF
##4638AF1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4638af;
/* rgb */ color: rgb(70, 56, 175);
/* oklch */ color: oklch(43.4% 0.181 281.1);
Tailwind
colors: {
  custom: {
    50: '#8570c8',
    500: '#4638af',
    950: '#000000',
  },
}
SCSS
$custom: #4638af;
$custom-light: #8570c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4638af",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 247.059,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43365,
    "c": 0.18052,
    "h": 281.1
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4638AF

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

Preview Lab → · Contrast checker → · Palette generator →

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