#4245CC#4245CC

#4245CC is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.8% C 0.203 H 274.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#4245CC
RGBrgb(66, 69, 204)
HSLhsl(239, 58%, 53%)
HSVhsv(239, 68%, 80%)
CMYKcmyk(67.6%, 66.2%, 0%, 20%)
CIE-LABlab(37.43, 41.51, -70.19)
CIE-LCHlch(37.43, 81.54, 300.60°)
OKLaboklab(47.77% 0.0163 -0.2027)
OKLCHoklch(47.77% 0.203 274.6)
XYZxyz(15.2704, 9.7727, 58.1966)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245CC #CCC942
analogous
#428ACC #4245CC #8442CC
triadic
#4245CC #CC4245 #45CC42
tetradic
#4245CC #CC428A #CCC942 #42CC84
square
#4245CC #CC428A #CCC942 #42CC84
split-complementary
#4245CC #CC8442 #8ACC42
monochromatic
#1F2174 #2C2FA4 #4245CC #7274D9 #A2A4E6

Accessibility & contrast

On white

7.11
#4245CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4245CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4245CC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245CC#FFFFFF#000000##FFFFFF
##4245CC1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0052C9
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4245cc;
/* rgb */ color: rgb(66, 69, 204);
/* oklch */ color: oklch(47.8% 0.203 274.6);
Tailwind
colors: {
  custom: {
    50: '#8879dd',
    500: '#4245cc',
    950: '#000000',
  },
}
SCSS
$custom: #4245cc;
$custom-light: #8879dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4245cc",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 238.696,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47774,
    "c": 0.20331,
    "h": 274.6
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

primary
#4245CC
secondary
#D3D197
accent
#DD47E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4245CC

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

Preview Lab → · Contrast checker → · Palette generator →

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