#4562CF#4562CF

#4562CF is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.171 H 268.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4562CF
RGBrgb(69, 98, 207)
HSLhsl(227, 59%, 54%)
HSVhsv(227, 67%, 81%)
CMYKcmyk(66.7%, 52.7%, 0%, 18.8%)
CIE-LABlab(44.95, 24.86, -59.67)
CIE-LCHlch(44.95, 64.64, 292.61°)
OKLaboklab(53.47% -0.0038 -0.1714)
OKLCHoklch(53.47% 0.171 268.7)
XYZxyz(18.0806, 14.5039, 60.8661)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4562CF #CFB245
analogous
#45A7CF #4562CF #6D45CF
triadic
#4562CF #CF4562 #62CF45
tetradic
#4562CF #CF45A7 #CFB245 #45CF6D
square
#4562CF #CF45A7 #CFB245 #45CF6D
split-complementary
#4562CF #CF6D45 #A7CF45
monochromatic
#20337A #2C47AB #4562CF #768BDC #A6B4E8

Accessibility & contrast

On white

5.38
#4562CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4562CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4562CF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4562CF#FFFFFF#000000##FFFFFF
##4562CF1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1971D3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4562cf;
/* rgb */ color: rgb(69, 98, 207);
/* oklch */ color: oklch(53.5% 0.171 268.7);
Tailwind
colors: {
  custom: {
    50: '#888ede',
    500: '#4562cf',
    950: '#000000',
  },
}
SCSS
$custom: #4562cf;
$custom-light: #888ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4562cf",
  "rgb": {
    "r": 69,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 227.391,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53465,
    "c": 0.17147,
    "h": 268.7
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

primary
#4562CF
secondary
#D5C99B
accent
#C146E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4562CF

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

Preview Lab → · Contrast checker → · Palette generator →

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