#4245DA#4245DA

#4245DA is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.1% C 0.221 H 273.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4245DA
RGBrgb(66, 69, 218)
HSLhsl(239, 67%, 56%)
HSVhsv(239, 70%, 85%)
CMYKcmyk(69.7%, 68.3%, 0%, 14.5%)
CIE-LABlab(38.68, 46.16, -76.21)
CIE-LCHlch(38.68, 89.10, 301.20°)
OKLaboklab(49.06% 0.0147 -0.2203)
OKLCHoklch(49.06% 0.221 273.8)
XYZxyz(17.0256, 10.4748, 67.4407)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245DA #DAD742
analogous
#4291DA #4245DA #8B42DA
triadic
#4245DA #DA4245 #45DA42
tetradic
#4245DA #DA4291 #DAD742 #42DA8B
square
#4245DA #DA4291 #DAD742 #42DA8B
split-complementary
#4245DA #DA8B42 #91DA42
monochromatic
#1A1D87 #2427BA #4245DA #7577E4 #A8AAEE

Accessibility & contrast

On white

6.78
#4245DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4245DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4245DA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245DA#FFFFFF#000000##FFFFFF
##4245DA1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DF
Deuteranopia (green-blind)
#0054D7
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4245da;
/* rgb */ color: rgb(66, 69, 218);
/* oklch */ color: oklch(49.1% 0.221 273.8);
Tailwind
colors: {
  custom: {
    50: '#8b7ae7',
    500: '#4245da',
    950: '#000000',
  },
}
SCSS
$custom: #4245da;
$custom-light: #8b7ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4245da",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 238.816,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.4906,
    "c": 0.22076,
    "h": 273.8
  },
  "luminance": 0.10476
}

Semantic roles & 50–950 ramp

primary
#4245DA
secondary
#DBDA9C
accent
#E73EEA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4245DA

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

Preview Lab → · Contrast checker → · Palette generator →

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