#4562D9#4562D9

#4562D9 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.2% C 0.185 H 269.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4562D9
RGBrgb(69, 98, 217)
HSLhsl(228, 66%, 56%)
HSVhsv(228, 68%, 85%)
CMYKcmyk(68.2%, 54.8%, 0%, 14.9%)
CIE-LABlab(45.65, 28.38, -64.26)
CIE-LCHlch(45.65, 70.25, 293.83°)
OKLaboklab(54.21% -0.0031 -0.1849)
OKLCHoklch(54.21% 0.185 269)
XYZxyz(19.3420, 15.0084, 67.5098)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4562D9 #D9BC45
analogous
#45ACD9 #4562D9 #7245D9
triadic
#4562D9 #D94562 #62D945
tetradic
#4562D9 #D945AC #D9BC45 #45D972
square
#4562D9 #D945AC #D9BC45 #45D972
split-complementary
#4562D9 #D97245 #ACD945
monochromatic
#1C3188 #2643BB #4562D9 #788DE3 #ABB8EE

Accessibility & contrast

On white

5.25
#4562D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4562D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4562D9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4562D9#FFFFFF#000000##FFFFFF
##4562D91.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4562d9;
/* rgb */ color: rgb(69, 98, 217);
/* oklch */ color: oklch(54.2% 0.185 269.0);
Tailwind
colors: {
  custom: {
    50: '#8a8ee6',
    500: '#4562d9',
    950: '#000000',
  },
}
SCSS
$custom: #4562d9;
$custom-light: #8a8ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#4562d9",
  "rgb": {
    "r": 69,
    "g": 98,
    "b": 217
  },
  "hsl": {
    "h": 228.243,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54212,
    "c": 0.18495,
    "h": 269
  },
  "luminance": 0.1501
}

Semantic roles & 50–950 ramp

primary
#4562D9
secondary
#DBCF9E
accent
#C83FE9
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4562D9

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

Preview Lab → · Contrast checker → · Palette generator →

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