#4638AB#4638AB

#4638AB is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.175 H 281.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4638AB
RGBrgb(70, 56, 171)
HSLhsl(247, 51%, 45%)
HSVhsv(247, 67%, 67%)
CMYKcmyk(59.1%, 67.3%, 0%, 32.9%)
CIE-LABlab(31.97, 39.02, -59.69)
CIE-LCHlch(31.97, 71.31, 303.18°)
OKLaboklab(43.01% 0.0353 -0.1718)
OKLCHoklch(43.01% 0.175 281.6)
XYZxyz(11.2884, 7.0700, 39.2900)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638AB #9DAB38
analogous
#3864AB #4638AB #7F38AB
triadic
#4638AB #AB4638 #38AB46
tetradic
#4638AB #AB3864 #9DAB38 #38AB7F
square
#4638AB #AB3864 #9DAB38 #38AB7F
split-complementary
#4638AB #AB7F38 #64AB38
monochromatic
#201A4F #33297D #4638AB #6658C8 #9086D7

Accessibility & contrast

On white

8.70
#4638AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##4638AB#FFFFFF#000000##FFFFFF
##4638AB1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#03566C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4638ab;
/* rgb */ color: rgb(70, 56, 171);
/* oklch */ color: oklch(43.0% 0.175 281.6);
Tailwind
colors: {
  custom: {
    50: '#8470c5',
    500: '#4638ab',
    950: '#000000',
  },
}
SCSS
$custom: #4638ab;
$custom-light: #8470c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4638ab",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 247.304,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43007,
    "c": 0.1754,
    "h": 281.6
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4638AB

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

Preview Lab → · Contrast checker → · Palette generator →

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