#4638BC#4638BC

#4638BC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.6% C 0.197 H 279.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4638BC
RGBrgb(70, 56, 188)
HSLhsl(246, 54%, 48%)
HSVhsv(246, 70%, 74%)
CMYKcmyk(62.8%, 70.2%, 0%, 26.3%)
CIE-LABlab(33.48, 44.44, -67.31)
CIE-LCHlch(33.48, 80.65, 303.43°)
OKLaboklab(44.56% 0.0327 -0.1941)
OKLCHoklch(44.56% 0.197 279.6)
XYZxyz(13.0142, 7.7603, 48.3793)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638BC #AEBC38
analogous
#386CBC #4638BC #8838BC
triadic
#4638BC #BC4638 #38BC46
tetradic
#4638BC #BC386C #AEBC38 #38BC88
square
#4638BC #BC386C #AEBC38 #38BC88
split-complementary
#4638BC #BC8838 #6CBC38
monochromatic
#231C5E #342A8D #4638BC #6D61D0 #9990DE

Accessibility & contrast

On white

8.23
#4638BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4638BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4638BC#FFFFFF#000000##FFFFFF
##4638BC1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4638bc;
/* rgb */ color: rgb(70, 56, 188);
/* oklch */ color: oklch(44.6% 0.197 279.6);
Tailwind
colors: {
  custom: {
    50: '#8770d1',
    500: '#4638bc',
    950: '#000000',
  },
}
SCSS
$custom: #4638bc;
$custom-light: #8770d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4638bc",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 246.364,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44559,
    "c": 0.19686,
    "h": 279.6
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#4638BC
secondary
#C2C987
accent
#DD4ACE
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4638BC

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

Preview Lab → · Contrast checker → · Palette generator →

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