#4540CE#4540CE

#4540CE is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.4% C 0.211 H 276.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4540CE
RGBrgb(69, 64, 206)
HSLhsl(242, 59%, 53%)
HSVhsv(242, 69%, 81%)
CMYKcmyk(66.5%, 68.9%, 0%, 19.2%)
CIE-LABlab(36.72, 45.49, -72.51)
CIE-LCHlch(36.72, 85.60, 302.10°)
OKLaboklab(47.37% 0.023 -0.2094)
OKLCHoklch(47.37% 0.211 276.3)
XYZxyz(15.4246, 9.3869, 59.3795)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4540CE #C9CE40
analogous
#4082CE #4540CE #8C40CE
triadic
#4540CE #CE4540 #40CE45
tetradic
#4540CE #CE4082 #C9CE40 #40CE8C
square
#4540CE #CE4082 #C9CE40 #40CE8C
split-complementary
#4540CE #CE8C40 #82CE40
monochromatic
#211E75 #2F2BA6 #4540CE #7471DA #A4A1E7

Accessibility & contrast

On white

7.30
#4540CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4540CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4540CE
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4540CE#FFFFFF#000000##FFFFFF
##4540CE1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#0050CB
Tritanopia (blue-blind)
#006682
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4540ce;
/* rgb */ color: rgb(69, 64, 206);
/* oklch */ color: oklch(47.4% 0.211 276.3);
Tailwind
colors: {
  custom: {
    50: '#8a76de',
    500: '#4540ce',
    950: '#000000',
  },
}
SCSS
$custom: #4540ce;
$custom-light: #8a76de;
$custom-dark: #000000;
JSON
{
  "hex": "#4540ce",
  "rgb": {
    "r": 69,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 242.113,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47365,
    "c": 0.21064,
    "h": 276.3
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#4540CE
secondary
#D1D496
accent
#E245DD
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4540CE

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

Preview Lab → · Contrast checker → · Palette generator →

#4540CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva