#4638B2#4638B2

#4638B2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.6% C 0.184 H 280.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4638B2
RGBrgb(70, 56, 178)
HSLhsl(247, 52%, 46%)
HSVhsv(247, 69%, 70%)
CMYKcmyk(60.7%, 68.5%, 0%, 30.2%)
CIE-LABlab(32.58, 41.26, -62.86)
CIE-LCHlch(32.58, 75.20, 303.28°)
OKLaboklab(43.64% 0.0343 -0.1811)
OKLCHoklch(43.64% 0.184 280.7)
XYZxyz(11.9733, 7.3439, 42.8974)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638B2 #A4B238
analogous
#3867B2 #4638B2 #8338B2
triadic
#4638B2 #B24638 #38B246
tetradic
#4638B2 #B23867 #A4B238 #38B283
square
#4638B2 #B23867 #A4B238 #38B283
split-complementary
#4638B2 #B28338 #67B238
monochromatic
#211B55 #342983 #4638B2 #685CCC #938ADA

Accessibility & contrast

On white

8.51
#4638B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4638B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4638B2
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4638B2#FFFFFF#000000##FFFFFF
##4638B21.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4638b2;
/* rgb */ color: rgb(70, 56, 178);
/* oklch */ color: oklch(43.6% 0.184 280.7);
Tailwind
colors: {
  custom: {
    50: '#8670ca',
    500: '#4638b2',
    950: '#000000',
  },
}
SCSS
$custom: #4638b2;
$custom-light: #8670ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4638b2",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 246.885,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43636,
    "c": 0.18434,
    "h": 280.7
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#4638B2
secondary
#BDC581
accent
#DC4CCB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4638B2

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

Preview Lab → · Contrast checker → · Palette generator →

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