#4245D5#4245D5

#4245D5 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.6% C 0.215 H 274.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4245D5
RGBrgb(66, 69, 213)
HSLhsl(239, 64%, 55%)
HSVhsv(239, 69%, 84%)
CMYKcmyk(69%, 67.6%, 0%, 16.5%)
CIE-LABlab(38.23, 44.51, -74.08)
CIE-LCHlch(38.23, 86.42, 301.00°)
OKLaboklab(48.6% 0.0153 -0.214)
OKLCHoklch(48.6% 0.215 274.1)
XYZxyz(16.3811, 10.2170, 64.0467)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245D5 #D5D242
analogous
#428ED5 #4245D5 #8942D5
triadic
#4245D5 #D54245 #45D542
tetradic
#4245D5 #D5428E #D5D242 #42D589
square
#4245D5 #D5428E #D5D242 #42D589
split-complementary
#4245D5 #D58942 #8ED542
monochromatic
#1C1F80 #282AB2 #4245D5 #7476E0 #A6A8EB

Accessibility & contrast

On white

6.90
#4245D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4245D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4245D5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245D5#FFFFFF#000000##FFFFFF
##4245D51.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D9
Deuteranopia (green-blind)
#0053D2
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4245d5;
/* rgb */ color: rgb(66, 69, 213);
/* oklch */ color: oklch(48.6% 0.215 274.1);
Tailwind
colors: {
  custom: {
    50: '#8a79e3',
    500: '#4245d5',
    950: '#000000',
  },
}
SCSS
$custom: #4245d5;
$custom-light: #8a79e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4245d5",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 238.776,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48596,
    "c": 0.21459,
    "h": 274.1
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#4245D5
secondary
#D8D79A
accent
#E341E7
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4245D5

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

Preview Lab → · Contrast checker → · Palette generator →

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