#4245CF#4245CF

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

Color values

HEX#4245CF
RGBrgb(66, 69, 207)
HSLhsl(239, 59%, 54%)
HSVhsv(239, 68%, 81%)
CMYKcmyk(68.1%, 66.7%, 0%, 18.8%)
CIE-LABlab(37.69, 42.51, -71.49)
CIE-LCHlch(37.69, 83.18, 300.74°)
OKLaboklab(48.05% 0.0159 -0.2065)
OKLCHoklch(48.05% 0.207 274.4)
XYZxyz(15.6336, 9.9180, 60.1099)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245CF #CFCC42
analogous
#428BCF #4245CF #8542CF
triadic
#4245CF #CF4245 #45CF42
tetradic
#4245CF #CF428B #CFCC42 #42CF85
square
#4245CF #CF428B #CFCC42 #42CF85
split-complementary
#4245CF #CF8542 #8BCF42
monochromatic
#1F2078 #2B2EA9 #4245CF #7375DB #A4A5E8

Accessibility & contrast

On white

7.04
#4245CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4245CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4245CF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245CF#FFFFFF#000000##FFFFFF
##4245CF1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0052CC
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4245cf;
/* rgb */ color: rgb(66, 69, 207);
/* oklch */ color: oklch(48.0% 0.207 274.4);
Tailwind
colors: {
  custom: {
    50: '#8879df',
    500: '#4245cf',
    950: '#000000',
  },
}
SCSS
$custom: #4245cf;
$custom-light: #8879df;
$custom-dark: #000000;
JSON
{
  "hex": "#4245cf",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 238.723,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48046,
    "c": 0.20709,
    "h": 274.4
  },
  "luminance": 0.09919
}

Semantic roles & 50–950 ramp

primary
#4245CF
secondary
#D5D398
accent
#DF45E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4245CF

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

Preview Lab → · Contrast checker → · Palette generator →

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