#4245DD#4245DD

#4245DD is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.3% C 0.224 H 273.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4245DD
RGBrgb(66, 69, 221)
HSLhsl(239, 70%, 56%)
HSVhsv(239, 70%, 87%)
CMYKcmyk(70.1%, 68.8%, 0%, 13.3%)
CIE-LABlab(38.96, 47.14, -77.47)
CIE-LCHlch(38.96, 90.69, 301.32°)
OKLaboklab(49.34% 0.0143 -0.224)
OKLCHoklch(49.34% 0.224 273.7)
XYZxyz(17.4217, 10.6333, 69.5269)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245DD #DDDA42
analogous
#4293DD #4245DD #8D42DD
triadic
#4245DD #DD4245 #45DD42
tetradic
#4245DD #DD4293 #DDDA42 #42DD8D
square
#4245DD #DD4293 #DDDA42 #42DD8D
split-complementary
#4245DD #DD8D42 #93DD42
monochromatic
#191B8C #2225BF #4245DD #7678E6 #AAABF0

Accessibility & contrast

On white

6.72
#4245DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4245DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4245DD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245DD#FFFFFF#000000##FFFFFF
##4245DD1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E2
Deuteranopia (green-blind)
#0054DA
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4245dd;
/* rgb */ color: rgb(66, 69, 221);
/* oklch */ color: oklch(49.3% 0.224 273.7);
Tailwind
colors: {
  custom: {
    50: '#8b7ae9',
    500: '#4245dd',
    950: '#000000',
  },
}
SCSS
$custom: #4245dd;
$custom-light: #8b7ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#4245dd",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 238.839,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.22443,
    "h": 273.7
  },
  "luminance": 0.10635
}

Semantic roles & 50–950 ramp

primary
#4245DD
secondary
#DDDC9D
accent
#E93BEC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4245DD

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

Preview Lab → · Contrast checker → · Palette generator →

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