#4245D8#4245D8

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

Color values

HEX#4245D8
RGBrgb(66, 69, 216)
HSLhsl(239, 66%, 55%)
HSVhsv(239, 69%, 85%)
CMYKcmyk(69.4%, 68.1%, 0%, 15.3%)
CIE-LABlab(38.50, 45.50, -75.36)
CIE-LCHlch(38.50, 88.03, 301.12°)
OKLaboklab(48.87% 0.0149 -0.2178)
OKLCHoklch(48.87% 0.218 273.9)
XYZxyz(16.7654, 10.3708, 66.0706)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245D8 #D8D542
analogous
#4290D8 #4245D8 #8A42D8
triadic
#4245D8 #D84245 #45D842
tetradic
#4245D8 #D84290 #D8D542 #42D88A
square
#4245D8 #D84290 #D8D542 #42D88A
split-complementary
#4245D8 #D88A42 #90D842
monochromatic
#1B1D84 #2629B7 #4245D8 #7577E2 #A7A9ED

Accessibility & contrast

On white

6.83
#4245D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4245D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4245D8
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245D8#FFFFFF#000000##FFFFFF
##4245D81.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DC
Deuteranopia (green-blind)
#0054D5
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4245d8;
/* rgb */ color: rgb(66, 69, 216);
/* oklch */ color: oklch(48.9% 0.218 273.9);
Tailwind
colors: {
  custom: {
    50: '#8a79e5',
    500: '#4245d8',
    950: '#000000',
  },
}
SCSS
$custom: #4245d8;
$custom-light: #8a79e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4245d8",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 238.8,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.48873,
    "c": 0.2183,
    "h": 273.9
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#4245D8
secondary
#DAD99C
accent
#E53FE9
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4245D8

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

Preview Lab → · Contrast checker → · Palette generator →

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