#4245D9#4245D9

#4245D9 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.0% C 0.220 H 273.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4245D9
RGBrgb(66, 69, 217)
HSLhsl(239, 67%, 55%)
HSVhsv(239, 70%, 85%)
CMYKcmyk(69.6%, 68.2%, 0%, 14.9%)
CIE-LABlab(38.59, 45.83, -75.78)
CIE-LCHlch(38.59, 88.56, 301.16°)
OKLaboklab(48.97% 0.0148 -0.219)
OKLCHoklch(48.97% 0.22 273.9)
XYZxyz(16.8951, 10.4226, 66.7536)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245D9 #D9D642
analogous
#4290D9 #4245D9 #8A42D9
triadic
#4245D9 #D94245 #45D942
tetradic
#4245D9 #D94290 #D9D642 #42D98A
square
#4245D9 #D94290 #D9D642 #42D98A
split-complementary
#4245D9 #D98A42 #90D942
monochromatic
#1B1D86 #2528B9 #4245D9 #7577E3 #A8A9ED

Accessibility & contrast

On white

6.81
#4245D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4245D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4245D9
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245D9#FFFFFF#000000##FFFFFF
##4245D91.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DE
Deuteranopia (green-blind)
#0054D6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4245d9;
/* rgb */ color: rgb(66, 69, 217);
/* oklch */ color: oklch(49.0% 0.220 273.9);
Tailwind
colors: {
  custom: {
    50: '#8a79e6',
    500: '#4245d9',
    950: '#000000',
  },
}
SCSS
$custom: #4245d9;
$custom-light: #8a79e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4245d9",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 238.808,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.48967,
    "c": 0.21953,
    "h": 273.9
  },
  "luminance": 0.10424
}

Semantic roles & 50–950 ramp

primary
#4245D9
secondary
#DBDA9C
accent
#E63EE9
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4245D9

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

Preview Lab → · Contrast checker → · Palette generator →

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