#4638BD#4638BD

#4638BD is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.7% C 0.198 H 279.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4638BD
RGBrgb(70, 56, 189)
HSLhsl(246, 54%, 48%)
HSVhsv(246, 70%, 74%)
CMYKcmyk(63%, 70.4%, 0%, 25.9%)
CIE-LABlab(33.57, 44.76, -67.75)
CIE-LCHlch(33.57, 81.19, 303.45°)
OKLaboklab(44.65% 0.0325 -0.1954)
OKLCHoklch(44.65% 0.198 279.4)
XYZxyz(13.1223, 7.8035, 48.9490)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638BD #AFBD38
analogous
#386CBD #4638BD #8838BD
triadic
#4638BD #BD4638 #38BD46
tetradic
#4638BD #BD386C #AFBD38 #38BD88
square
#4638BD #BD386C #AFBD38 #38BD88
split-complementary
#4638BD #BD8838 #6CBD38
monochromatic
#231C5F #352A8E #4638BD #6D62D0 #9991DE

Accessibility & contrast

On white

8.20
#4638BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4638BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4638BD#FFFFFF#000000##FFFFFF
##4638BD1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4638bd;
/* rgb */ color: rgb(70, 56, 189);
/* oklch */ color: oklch(44.7% 0.198 279.4);
Tailwind
colors: {
  custom: {
    50: '#8870d2',
    500: '#4638bd',
    950: '#000000',
  },
}
SCSS
$custom: #4638bd;
$custom-light: #8870d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4638bd",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 246.316,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44652,
    "c": 0.1981,
    "h": 279.4
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4638BD

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

Preview Lab → · Contrast checker → · Palette generator →

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