#4562E2#4562E2

#4562E2 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.9% C 0.197 H 269.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4562E2
RGBrgb(69, 98, 226)
HSLhsl(229, 73%, 58%)
HSVhsv(229, 69%, 89%)
CMYKcmyk(69.5%, 56.6%, 0%, 11.4%)
CIE-LABlab(46.30, 31.55, -68.31)
CIE-LCHlch(46.30, 75.24, 294.79°)
OKLaboklab(54.91% -0.0027 -0.1968)
OKLCHoklch(54.91% 0.197 269.2)
XYZxyz(20.5447, 15.4895, 73.8438)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4562E2 #E2C545
analogous
#45B1E2 #4562E2 #7645E2
triadic
#4562E2 #E24562 #62E245
tetradic
#4562E2 #E245B1 #E2C545 #45E276
square
#4562E2 #E245B1 #E2C545 #45E276
split-complementary
#4562E2 #E27645 #B1E245
monochromatic
#172F95 #203FCA #4562E2 #7A8FEA #AFBBF3

Accessibility & contrast

On white

5.12
#4562E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4562E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4562E2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4562E2#FFFFFF#000000##FFFFFF
##4562E21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4562e2;
/* rgb */ color: rgb(69, 98, 226);
/* oklch */ color: oklch(54.9% 0.197 269.2);
Tailwind
colors: {
  custom: {
    50: '#8b8eec',
    500: '#4562e2',
    950: '#000000',
  },
}
SCSS
$custom: #4562e2;
$custom-light: #8b8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#4562e2",
  "rgb": {
    "r": 69,
    "g": 98,
    "b": 226
  },
  "hsl": {
    "h": 228.917,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.19685,
    "h": 269.2
  },
  "luminance": 0.15492
}

Semantic roles & 50–950 ramp

primary
#4562E2
secondary
#E1D5A2
accent
#CE38F0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4562E2

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

Preview Lab → · Contrast checker → · Palette generator →

#4562E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva