#4245C3#4245C3

#4245C3 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.192 H 275.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4245C3
RGBrgb(66, 69, 195)
HSLhsl(239, 52%, 51%)
HSVhsv(239, 66%, 76%)
CMYKcmyk(66.2%, 64.6%, 0%, 23.5%)
CIE-LABlab(36.66, 38.48, -66.22)
CIE-LCHlch(36.66, 76.59, 300.16°)
OKLaboklab(46.97% 0.0171 -0.191)
OKLCHoklch(46.97% 0.192 275.1)
XYZxyz(14.2220, 9.3534, 52.6751)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245C3 #C3C042
analogous
#4285C3 #4245C3 #7F42C3
triadic
#4245C3 #C34245 #45C342
tetradic
#4245C3 #C34285 #C3C042 #42C37F
square
#4245C3 #C34285 #C3C042 #42C37F
split-complementary
#4245C3 #C37F42 #85C342
monochromatic
#212369 #303398 #4245C3 #7073D2 #9FA0E0

Accessibility & contrast

On white

7.31
#4245C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4245C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4245C3
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245C3#FFFFFF#000000##FFFFFF
##4245C31.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4245c3;
/* rgb */ color: rgb(66, 69, 195);
/* oklch */ color: oklch(47.0% 0.192 275.1);
Tailwind
colors: {
  custom: {
    50: '#8679d6',
    500: '#4245c3',
    950: '#000000',
  },
}
SCSS
$custom: #4245c3;
$custom-light: #8679d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4245c3",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 238.605,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46971,
    "c": 0.1918,
    "h": 275.1
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#4245C3
secondary
#CDCC94
accent
#D84DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4245C3

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

Preview Lab → · Contrast checker → · Palette generator →

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