#4245CA#4245CA

#4245CA is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.6% C 0.201 H 274.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4245CA
RGBrgb(66, 69, 202)
HSLhsl(239, 56%, 53%)
HSVhsv(239, 67%, 79%)
CMYKcmyk(67.3%, 65.8%, 0%, 20.8%)
CIE-LABlab(37.26, 40.84, -69.31)
CIE-LCHlch(37.26, 80.45, 300.51°)
OKLaboklab(47.59% 0.0164 -0.2001)
OKLCHoklch(47.59% 0.201 274.7)
XYZxyz(15.0320, 9.6774, 56.9414)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245CA #CAC742
analogous
#4289CA #4245CA #8342CA
triadic
#4245CA #CA4245 #45CA42
tetradic
#4245CA #CA4289 #CAC742 #42CA83
square
#4245CA #CA4289 #CAC742 #42CA83
split-complementary
#4245CA #CA8342 #89CA42
monochromatic
#202272 #2D30A2 #4245CA #7274D7 #A2A3E5

Accessibility & contrast

On white

7.15
#4245CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4245CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4245CA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245CA#FFFFFF#000000##FFFFFF
##4245CA1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4245ca;
/* rgb */ color: rgb(66, 69, 202);
/* oklch */ color: oklch(47.6% 0.201 274.7);
Tailwind
colors: {
  custom: {
    50: '#8779db',
    500: '#4245ca',
    950: '#000000',
  },
}
SCSS
$custom: #4245ca;
$custom-light: #8779db;
$custom-dark: #000000;
JSON
{
  "hex": "#4245ca",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 238.676,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47594,
    "c": 0.20077,
    "h": 274.7
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#4245CA
secondary
#D1D096
accent
#DC48DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4245CA

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

Preview Lab → · Contrast checker → · Palette generator →

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