#4562D5#4562D5

#4562D5 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.9% C 0.180 H 268.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4562D5
RGBrgb(69, 98, 213)
HSLhsl(228, 63%, 55%)
HSVhsv(228, 68%, 84%)
CMYKcmyk(67.6%, 54%, 0%, 16.5%)
CIE-LABlab(45.36, 26.97, -62.43)
CIE-LCHlch(45.36, 68.01, 293.37°)
OKLaboklab(53.91% -0.0033 -0.1796)
OKLCHoklch(53.91% 0.18 268.9)
XYZxyz(18.8281, 14.8029, 64.8029)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4562D5 #D5B845
analogous
#45AAD5 #4562D5 #7045D5
triadic
#4562D5 #D54562 #62D545
tetradic
#4562D5 #D545AA #D5B845 #45D570
square
#4562D5 #D545AA #D5B845 #45D570
split-complementary
#4562D5 #D57045 #AAD545
monochromatic
#1D3282 #2945B4 #4562D5 #778CE0 #A9B6EC

Accessibility & contrast

On white

5.30
#4562D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4562D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4562D5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4562D5#FFFFFF#000000##FFFFFF
##4562D51.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0472D9
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4562d5;
/* rgb */ color: rgb(69, 98, 213);
/* oklch */ color: oklch(53.9% 0.180 268.9);
Tailwind
colors: {
  custom: {
    50: '#898ee3',
    500: '#4562d5',
    950: '#000000',
  },
}
SCSS
$custom: #4562d5;
$custom-light: #898ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#4562d5",
  "rgb": {
    "r": 69,
    "g": 98,
    "b": 213
  },
  "hsl": {
    "h": 227.917,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.17959,
    "h": 268.9
  },
  "luminance": 0.14805
}

Semantic roles & 50–950 ramp

primary
#4562D5
secondary
#D9CD9D
accent
#C542E6
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4562D5

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

Preview Lab → · Contrast checker → · Palette generator →

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