#4540DD#4540DD

#4540DD is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.8% C 0.229 H 275.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4540DD
RGBrgb(69, 64, 221)
HSLhsl(242, 70%, 56%)
HSVhsv(242, 71%, 87%)
CMYKcmyk(68.8%, 71%, 0%, 13.3%)
CIE-LABlab(38.11, 50.31, -78.86)
CIE-LCHlch(38.11, 93.54, 302.54°)
OKLaboklab(48.79% 0.0207 -0.2279)
OKLCHoklch(48.79% 0.229 275.2)
XYZxyz(17.3345, 10.1508, 69.4384)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4540DD #D8DD40
analogous
#4089DD #4540DD #9340DD
triadic
#4540DD #DD4540 #40DD45
tetradic
#4540DD #DD4089 #D8DD40 #40DD93
square
#4540DD #DD4089 #D8DD40 #40DD93
split-complementary
#4540DD #DD9340 #89DD40
monochromatic
#1C198A #2722BE #4540DD #7874E6 #AAA8EF

Accessibility & contrast

On white

6.93
#4540DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4540DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4540DD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4540DD#FFFFFF#000000##FFFFFF
##4540DD1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E2
Deuteranopia (green-blind)
#0052DA
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4540dd;
/* rgb */ color: rgb(69, 64, 221);
/* oklch */ color: oklch(48.8% 0.229 275.2);
Tailwind
colors: {
  custom: {
    50: '#8d76e9',
    500: '#4540dd',
    950: '#000000',
  },
}
SCSS
$custom: #4540dd;
$custom-light: #8d76e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4540dd",
  "rgb": {
    "r": 69,
    "g": 64,
    "b": 221
  },
  "hsl": {
    "h": 241.911,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.48785,
    "c": 0.22887,
    "h": 275.2
  },
  "luminance": 0.10152
}

Semantic roles & 50–950 ramp

primary
#4540DD
secondary
#DBDD9C
accent
#ED3BE7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4540DD

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

Preview Lab → · Contrast checker → · Palette generator →

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