#4245C4#4245C4

#4245C4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.1% C 0.193 H 275.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#4245C4
RGBrgb(66, 69, 196)
HSLhsl(239, 52%, 51%)
HSVhsv(239, 66%, 77%)
CMYKcmyk(66.3%, 64.8%, 0%, 23.1%)
CIE-LABlab(36.74, 38.82, -66.66)
CIE-LCHlch(36.74, 77.14, 300.21°)
OKLaboklab(47.06% 0.017 -0.1923)
OKLCHoklch(47.06% 0.193 275)
XYZxyz(14.3354, 9.3987, 53.2725)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245C4 #C4C142
analogous
#4286C4 #4245C4 #8042C4
triadic
#4245C4 #C44245 #45C442
tetradic
#4245C4 #C44286 #C4C142 #42C480
square
#4245C4 #C44286 #C4C142 #42C480
split-complementary
#4245C4 #C48042 #86C442
monochromatic
#21236A #303299 #4245C4 #7173D3 #9FA1E1

Accessibility & contrast

On white

7.29
#4245C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4245C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4245C4
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245C4#FFFFFF#000000##FFFFFF
##4245C41.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4245c4;
/* rgb */ color: rgb(66, 69, 196);
/* oklch */ color: oklch(47.1% 0.193 275.0);
Tailwind
colors: {
  custom: {
    50: '#8679d7',
    500: '#4245c4',
    950: '#000000',
  },
}
SCSS
$custom: #4245c4;
$custom-light: #8679d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4245c4",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 238.615,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47059,
    "c": 0.19309,
    "h": 275
  },
  "luminance": 0.094
}

Semantic roles & 50–950 ramp

primary
#4245C4
secondary
#CECC94
accent
#D94CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4245C4

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

Preview Lab → · Contrast checker → · Palette generator →

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