#4245CE#4245CE

#4245CE is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.0% C 0.206 H 274.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4245CE
RGBrgb(66, 69, 206)
HSLhsl(239, 59%, 53%)
HSVhsv(239, 68%, 81%)
CMYKcmyk(68%, 66.5%, 0%, 19.2%)
CIE-LABlab(37.61, 42.18, -71.06)
CIE-LCHlch(37.61, 82.63, 300.69°)
OKLaboklab(47.96% 0.016 -0.2052)
OKLCHoklch(47.96% 0.206 274.5)
XYZxyz(15.5118, 9.8693, 59.4681)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245CE #CECB42
analogous
#428BCE #4245CE #8542CE
triadic
#4245CE #CE4245 #45CE42
tetradic
#4245CE #CE428B #CECB42 #42CE85
square
#4245CE #CE428B #CECB42 #42CE85
split-complementary
#4245CE #CE8542 #8BCE42
monochromatic
#1F2177 #2B2EA7 #4245CE #7375DB #A3A5E7

Accessibility & contrast

On white

7.06
#4245CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4245CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4245CE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245CE#FFFFFF#000000##FFFFFF
##4245CE1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4245ce;
/* rgb */ color: rgb(66, 69, 206);
/* oklch */ color: oklch(48.0% 0.206 274.5);
Tailwind
colors: {
  custom: {
    50: '#8879de',
    500: '#4245ce',
    950: '#000000',
  },
}
SCSS
$custom: #4245ce;
$custom-light: #8879de;
$custom-dark: #000000;
JSON
{
  "hex": "#4245ce",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 238.714,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.47955,
    "c": 0.20584,
    "h": 274.5
  },
  "luminance": 0.09871
}

Semantic roles & 50–950 ramp

primary
#4245CE
secondary
#D4D398
accent
#DF46E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4245CE

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

Preview Lab → · Contrast checker → · Palette generator →

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