#4245C7#4245C7

#4245C7 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.3% C 0.197 H 274.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4245C7
RGBrgb(66, 69, 199)
HSLhsl(239, 54%, 52%)
HSVhsv(239, 67%, 78%)
CMYKcmyk(66.8%, 65.3%, 0%, 22%)
CIE-LABlab(37.00, 39.83, -67.99)
CIE-LCHlch(37.00, 78.80, 300.36°)
OKLaboklab(47.33% 0.0167 -0.1962)
OKLCHoklch(47.33% 0.197 274.9)
XYZxyz(14.6803, 9.5367, 55.0889)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245C7 #C7C442
analogous
#4287C7 #4245C7 #8242C7
triadic
#4245C7 #C74245 #45C742
tetradic
#4245C7 #C74287 #C7C442 #42C782
square
#4245C7 #C74287 #C7C442 #42C782
split-complementary
#4245C7 #C78242 #87C742
monochromatic
#21226E #2F319D #4245C7 #7173D5 #A0A2E3

Accessibility & contrast

On white

7.22
#4245C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4245C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4245C7
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245C7#FFFFFF#000000##FFFFFF
##4245C71.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4245c7;
/* rgb */ color: rgb(66, 69, 199);
/* oklch */ color: oklch(47.3% 0.197 274.9);
Tailwind
colors: {
  custom: {
    50: '#8779d9',
    500: '#4245c7',
    950: '#000000',
  },
}
SCSS
$custom: #4245c7;
$custom-light: #8779d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4245c7",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 238.647,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47325,
    "c": 0.19694,
    "h": 274.9
  },
  "luminance": 0.09538
}

Semantic roles & 50–950 ramp

primary
#4245C7
secondary
#D0CE95
accent
#DA4ADE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4245C7

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

Preview Lab → · Contrast checker → · Palette generator →

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