#4245D2#4245D2

#4245D2 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.3% C 0.211 H 274.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4245D2
RGBrgb(66, 69, 210)
HSLhsl(239, 62%, 54%)
HSVhsv(239, 69%, 82%)
CMYKcmyk(68.6%, 67.1%, 0%, 17.6%)
CIE-LABlab(37.96, 43.51, -72.79)
CIE-LCHlch(37.96, 84.80, 300.87°)
OKLaboklab(48.32% 0.0156 -0.2103)
OKLCHoklch(48.32% 0.211 274.2)
XYZxyz(16.0039, 10.0661, 62.0598)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245D2 #D2CF42
analogous
#428DD2 #4245D2 #8742D2
triadic
#4245D2 #D24245 #45D242
tetradic
#4245D2 #D2428D #D2CF42 #42D287
square
#4245D2 #D2428D #D2CF42 #42D287
split-complementary
#4245D2 #D28742 #8DD242
monochromatic
#1E207C #292CAD #4245D2 #7376DE #A5A6EA

Accessibility & contrast

On white

6.97
#4245D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4245D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4245D2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245D2#FFFFFF#000000##FFFFFF
##4245D21.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0053CF
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4245d2;
/* rgb */ color: rgb(66, 69, 210);
/* oklch */ color: oklch(48.3% 0.211 274.2);
Tailwind
colors: {
  custom: {
    50: '#8979e1',
    500: '#4245d2',
    950: '#000000',
  },
}
SCSS
$custom: #4245d2;
$custom-light: #8979e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4245d2",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 238.75,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.4832,
    "c": 0.21086,
    "h": 274.2
  },
  "luminance": 0.10068
}

Semantic roles & 50–950 ramp

primary
#4245D2
secondary
#D7D599
accent
#E143E5
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4245D2

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

Preview Lab → · Contrast checker → · Palette generator →

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