#4642B8#4642B8

#4642B8 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.8% C 0.180 H 278.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4642B8
RGBrgb(70, 66, 184)
HSLhsl(242, 47%, 49%)
HSVhsv(242, 64%, 72%)
CMYKcmyk(62%, 64.1%, 0%, 27.8%)
CIE-LABlab(35.32, 37.23, -61.94)
CIE-LCHlch(35.32, 72.26, 301.01°)
OKLaboklab(45.78% 0.0252 -0.1784)
OKLCHoklch(45.78% 0.18 278.1)
XYZxyz(13.1230, 8.6582, 46.3178)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642B8 #B4B842
analogous
#4279B8 #4642B8 #8142B8
triadic
#4642B8 #B84642 #42B846
tetradic
#4642B8 #B84279 #B4B842 #42B881
square
#4642B8 #B84279 #B4B842 #42B881
split-complementary
#4642B8 #B88142 #79B842
monochromatic
#24225E #35328B #4642B8 #706DCB #9C9ADB

Accessibility & contrast

On white

7.69
#4642B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4642B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4642B8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642B8#FFFFFF#000000##FFFFFF
##4642B81.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4642b8;
/* rgb */ color: rgb(70, 66, 184);
/* oklch */ color: oklch(45.8% 0.180 278.1);
Tailwind
colors: {
  custom: {
    50: '#8677ce',
    500: '#4642b8',
    950: '#000000',
  },
}
SCSS
$custom: #4642b8;
$custom-light: #8677ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4642b8",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 242.034,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4578,
    "c": 0.18016,
    "h": 278.1
  },
  "luminance": 0.08659
}

Semantic roles & 50–950 ramp

primary
#4642B8
secondary
#C5C78F
accent
#D751D2
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4642B8

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

Preview Lab → · Contrast checker → · Palette generator →

#4642B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva