#4245D1#4245D1

#4245D1 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.2% C 0.210 H 274.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4245D1
RGBrgb(66, 69, 209)
HSLhsl(239, 61%, 54%)
HSVhsv(239, 68%, 82%)
CMYKcmyk(68.4%, 67%, 0%, 18%)
CIE-LABlab(37.87, 43.18, -72.36)
CIE-LCHlch(37.87, 84.26, 300.83°)
OKLaboklab(48.23% 0.0157 -0.209)
OKLCHoklch(48.23% 0.21 274.3)
XYZxyz(15.8797, 10.0165, 61.4058)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245D1 #D1CE42
analogous
#428DD1 #4245D1 #8742D1
triadic
#4245D1 #D14245 #45D142
tetradic
#4245D1 #D1428D #D1CE42 #42D187
square
#4245D1 #D1428D #D1CE42 #42D187
split-complementary
#4245D1 #D18742 #8DD142
monochromatic
#1E207B #2A2DAC #4245D1 #7375DD #A4A6E9

Accessibility & contrast

On white

6.99
#4245D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#4245D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4245D1
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245D1#FFFFFF#000000##FFFFFF
##4245D11.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D5
Deuteranopia (green-blind)
#0053CE
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4245d1;
/* rgb */ color: rgb(66, 69, 209);
/* oklch */ color: oklch(48.2% 0.210 274.3);
Tailwind
colors: {
  custom: {
    50: '#8979e0',
    500: '#4245d1',
    950: '#000000',
  },
}
SCSS
$custom: #4245d1;
$custom-light: #8979e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4245d1",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 238.741,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48228,
    "c": 0.2096,
    "h": 274.3
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

primary
#4245D1
secondary
#D6D599
accent
#E144E4
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4245D1

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

Preview Lab → · Contrast checker → · Palette generator →

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