#4245F0#4245F0

#4245F0 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.2% C 0.247 H 272.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4245F0
RGBrgb(66, 69, 240)
HSLhsl(239, 85%, 60%)
HSVhsv(239, 73%, 94%)
CMYKcmyk(72.5%, 71.3%, 0%, 5.9%)
CIE-LABlab(40.74, 53.30, -85.32)
CIE-LCHlch(40.74, 100.61, 301.99°)
OKLaboklab(51.16% 0.0116 -0.2469)
OKLCHoklch(51.16% 0.247 272.7)
XYZxyz(20.0978, 11.7037, 83.6210)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245F0 #F0ED42
analogous
#429CF0 #4245F0 #9642F0
triadic
#4245F0 #F04245 #45F042
tetradic
#4245F0 #F0429C #F0ED42 #42F096
square
#4245F0 #F0429C #F0ED42 #42F096
split-complementary
#4245F0 #F09642 #9CF042
monochromatic
#0E10AA #1216E3 #4245F0 #7B7DF4 #B3B5F9

Accessibility & contrast

On white

6.29
#4245F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4245F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4245F0
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245F0#FFFFFF#000000##FFFFFF
##4245F01.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068F5
Deuteranopia (green-blind)
#0058ED
Tritanopia (blue-blind)
#007696
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4245f0;
/* rgb */ color: rgb(66, 69, 240);
/* oklch */ color: oklch(51.2% 0.247 272.7);
Tailwind
colors: {
  custom: {
    50: '#8f7af6',
    500: '#4245f0',
    950: '#000000',
  },
}
SCSS
$custom: #4245f0;
$custom-light: #8f7af6;
$custom-dark: #000000;
JSON
{
  "hex": "#4245f0",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 240
  },
  "hsl": {
    "h": 238.966,
    "s": 85.294,
    "l": 60
  },
  "oklch": {
    "l": 0.51159,
    "c": 0.24715,
    "h": 272.7
  },
  "luminance": 0.11706
}

Semantic roles & 50–950 ramp

primary
#4245F0
secondary
#E8E7A5
accent
#F82CFC
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4245F0

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

Preview Lab → · Contrast checker → · Palette generator →

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